[ansel] Thumbnail generation for gallery uploaded via publish this photo to the web.

gimili gimili17 at gmail.com
Mon Nov 17 18:19:56 UTC 2008


Jan Schneider wrote:
> Zitat von gimili <gimili17 at gmail.com>:
>> Would it be possible to have a cron job that created the thumbnails 
>> for a large gallery that was uploaded via web publish or perhaps a 
>> button that ran a script?  This seems like it might be simple and 
>> perhaps people would find it useful?  It is so easy to get a large 
>> amount of photos into ansel via web publish but then it was slow to 
>> move through the pages as I had to wait for the thumbnails to be 
>> generated for the first time.  Once they are generated it is almost 
>> instantaneous.  Not that big a deal but just a thought.  This is a 
>> really great module!  Thanks!
> Why would a cron job help in that case? You'd still have to wait, but 
> this time for the cron job, not for the page to load.
Quite true Jan.  I would have to wait but cron job happens without me 
having to do anything.  Currently I have to move through each page 
myself to force generation and this takes some time (perhaps there is 
already a better way that I am not aware of?).  It took 20 seconds per 
page with 2,400kb photos.  With cron I could upload the large gallery (I 
still can't believe how well this works) and know that in the evening 
the thumbnails would be generated so that the next day my user, who 
always complains about speed, would not have to wait as she switches 
from page to page in the gallery for thumbnail generation.  There is 
already an option for auto-generation for pictures uploaded via the 
ansel interface but this is not available for the web publish option.  
Maybe there is another way to trigger it besides cron.  A button that 
generates all the thumbnails for the gallery would help.  I tried with 
smaller photos and the thumbnail generation was much quicker so image 
size is part of my problem.  Not that big a deal but I noticed it as an 
inconvenience and thought it might be something to consider.  Thanks again!



More information about the ansel mailing list