Hi Everyone,
I spent some time preparing my thumbs using the nice and efficient zp tool. So it's done, cool ..... but, some days later I had the surprise to see that some of my thumbs had been replaced.
The new one had seemingly been obtained by a resize without crop, which leads to a loss of the aspect ratio (image is crushed vertically for ex.)
What happened ?
Clue : In the mean time, I had replaced the album images by smaller images (using a brutal ftp replace.)
happy end: I had saved my site after thumbs creation, including my beloved thumbs ...
BUT:
I'ld like to know what happened so that I can do the right thing next time ...
Is it a bug ?
Why changing thumbs without warning while there are already (nice) thumbs ?
Why this aspect ratio loss ?
Thanks for any advice or clue,
Nicolas
Comments
Theme : zpgalleriffic
Info :
By ftp, I replaced the albums Images by the sames images but smaller --> SAME aspect ratio, SAME file name.
zp cropping generates thumb files in the cache, no ?
Does it regenerate the thumbs when album files are replace outside of zp ? (by ftp)
Does he know files where changed ? ... and re generates new thumbs ?
Aspect ratio, I reformulate the question :
Why does zp produces thumbs by resizing a WHOLE NON SQUARE image to get a SQUARE thumb ?
The inevitably creates a distorted image ...
Thanks for your patience ...
Generally ZP should not replace existing cached thumbs if the file name and format does not change. I think my collegue sbillard will respond to this later. He is a little more familiar with the image processing. I currently do not remember if Zenphoto recognizes file date changes as well.
Thanks, ok, let's wait for sbillard's opinion about that Image processing stuff ...
Bye
Well, I guess the only thing I can do is find where zpgalleriific controls thumbnails generation and kick its ass to to get it done the right way ...
Bye and thanks for this super support your bringing to zp.
Bye
Nicolas