thibaud-rohmer / PhotoShow

A free web gallery in PHP with drag-n-drop support
http://www.photoshow-gallery.com
502 stars 151 forks source link

Manually start thumbnail generation #308

Open mke21 opened 8 years ago

mke21 commented 8 years ago

Is there a way to pre-generate thumbnails for a big folder with images that has been rsync'ed to the server?

valessiobrito commented 8 years ago

+1

a bash-script with image magick is possible to generate images in server side?!

thanks a lot, great project!

imthenachoman commented 6 years ago

So I am looking through the code and see image generation is manually called with Settings::gener_all(File::r2a(stripslashes($_POST['path']))); so I am wondering if it is possible to create a separate PHP file that just calls that on a passed directory to manually generate the thumbs.