Dear all,
I came across another (possibly unintended) behaviour of the CPG.
For my gallery I set the dimensions of all thumbs to identical portrait dimensions to have a clean look. This, however, makes it necessary to fine tune the focus point of some of the thumbs. This can be done by two ways: Usage of the Plugin for a custom thumb (
http://forum.coppermine-gallery.net/index.php/topic,60272.0.html), or by the use of the pic_editor -> save as thumb.
Using the plugin, the uploaded file is centrally cropped to fit the set dimensions (as expected!).
Using the pic_editor, I can manually crop the image and than "save as thumbnail". Here the image is not cropped and only the width of the set thumbnail is used. The height is set proportional to the original aspect ratio. This is something I haven't expected! (As far as my php-knowledge reaches, plugin and pic_editor use the same code to crop.
Additionally, both (plugin and pic_editor) use (at least partially) the dimensions set for thumbnails, but apparently not the sharpness settings (see below).
Is it possible to implement either a fixed aspect ratio cropping box, or an improved cropping algorithm in the pic_editor and use similar sharpness settings as used for the out of the box thumbnail? Ditto for the custom thumb plugin.
Pleas see
http://www.fotowald.de/thumbnails-115.html PW: "test" (also attached as screenshot!)
The files show the originally created thumb "original",
an intentionally portrait cropped created thumb with the pic_editor "cropped",
a thumb created using the custom thumb plugin (using a similar portrait crop as used for the thumb before) "custom thumb"
and finally the file I uploaded via the plugin with a out of the box thumb.
Please not the different sharpness of the thumbs created straight away and created additionally and also note the distorted thumb when created using the pic_editor.
Thanks a lot,
André