On 6/27/2014 11:44 AM, jdd wrote:
Le 27/06/2014 19:59, Anton Aylward a �crit :
I just want to see the thumbnails so I can tell which photos I want to download onto my tablet to process there.
well... it's a sort of tiny gallery :-)
solution, script and cron job. So not immediate (I don't know how to trigger a script from a html page, but it may be possible):
warning, this script *replace the image by the result*:
for I in *.jpg ; do convert -resize 1920x1920 $I $I done
change the second I by th-$I to have thumnails, then buils an html page
convert is from imagemagic, resize argument gives the max size in the two directions
jdd
It would be better to put the thumbnails in a second directory: thumbs/$1-th and it would be wiser to make the thumbs much smaller, under 500x500, because all of this has to be transmitted across the net to his tablet. Also that bit you mentioned "Builds an html page", how is that done? Isn't that the hardest part? -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org