for me its a little bug.. but i could workaround it by removing a feature
ok.. what happened:
i upload 10 images into an empty gallery.
jpg size is set to 800x800 - save original - quality 80%
the originals are 1400x1200
I upload them.. and everything is perfect.
I then go to the maintainance and regenerate the thumbnails..
the user sees the thumbnail.. he clicks on it he gets a picture about 800x600 and if he cklicks on that picture he sees the original 1400x1200 that is the way it should be...
Now for some reason i feal that the 800x600 is to big.. so i decide to change the jpg size to 700x700 (its just an example)
and i go to regenerate the normal pictures... What i would expect is:
The user sees a thumbnail... when he clicks on it.. he gets a picture that is 700x5xx and when he clicks on that picture he sees the original that is still 1400x1200 But no.. what he gets is:
The user sees a thumbnail... when he clicks on it he gets the normal picture that is 700x5xx as expected.. and then when he clicks on that picture he doesn't see the original any more.. but a 800x600 picture.. i looked at the code.. and what it does is..
if i resize the normal picture to a size that is smaller that the one it was.. it takes the old normal picture and replaces the original... with the old normal picture.. my original that i wanted to save is gone...
!!!! and was replaced by the old normal picture...
and instead of regenerating the normal picture from the full sized original.. it resizes it from itsself.. (which means 2x quality loss.. example..I change filesize 5 times in a row... if normal pic was always generated from original.. it would always have the same quality) maybe i misunderstood what the _original was meant for..
.. for the moment i just remmed out the line @copy normal to original..
and.. suggestion.. it would be nice that if you do not change quality of the original, and if the _original exists, that the thumbnail would be generated from the original instead of the normal picture that can have been allready manipulated and resized..