We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaa5565 commit bd22fa6Copy full SHA for bd22fa6
src/traits/LfmHelpers.php
@@ -280,8 +280,11 @@ public function getFilesWithInfo($path)
280
}
281
282
$thumb_path = $this->getThumbPath($file_name);
283
+ $image_path = $this->getCurrentPath($file_name);
284
if (File::exists($thumb_path)) {
285
$thumb_url = $this->getThumbUrl($file_name) . '?timestamp=' . filemtime($thumb_path);
286
+ } elseif (File::exists($image_path)) {
287
+ $thumb_url = $this->getFileUrl($file_name);
288
} else {
289
$thumb_url = null;
290
0 commit comments