Skip to content

Commit

Permalink
Fix thumbnail image loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimot24 authored Aug 28, 2024
1 parent 217f69d commit 7b706f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Model/Trait/HasImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function imageFileExists()

public function thumbnailFileExists()
{
return $this->hasImage() && file_exists($this->getImageDirectory() . DIRECTORY_SEPARATOR . $this->image);
return $this->hasImage() && file_exists($this->getThumbnailDirectory() . DIRECTORY_SEPARATOR . $this->image);
}

public function getThumb()
Expand Down

0 comments on commit 7b706f2

Please sign in to comment.