While playing around i found another little bug in editimage
what is the bug?
I you are in the imagetools page.. (editimage.php) you have the option to replace the image. It works fine, except if you replace the image by an image of another type it will not change the filetype..
In other words if you replace test.jpg with test2.jpg everything is ok.
but if you replace test.jpg with test2.gif or test3.png then it looks fine.. but in the database the file extension is still set to jpg..
this can have issues when regenerating thumbnails etc... I stumbled into it because i was trying to write a thumbnail cropping tool and always got the error imagecreatefromjpg could not open that file..
anyway as it is not correct and easy to fix here is what to do:
open includes/functions_gallery_imageedit.php
there find:
Code:
Content visible to verified customers only.
and replace with:
Code:
Content visible to verified customers only.
thats it..
Luc