Search code examples
phpthumbnailselfinder

PHP, getting Thumbnail for an image in Elfinder


I use Elfinder 2.1 and i'm looking for a possibility to get the right thumbnail path of an image with PHP.

By default a .tmb folder exist in every folder and contains the resized thumbnails with an (i think) md5 hashed filename.

How can i retrieve the correct thumbnail for a specific image in PHP? The goal is to show only the thumbnails in another PHP Script and with a click the original imgage shows up.


Solution

  • Take a look at this issue, it may point you in the right direction: https://github.com/Studio-42/elFinder/issues/671