[BUG] Error occures when resising image / Navigation problem
DiLDoG
Joined: 2005-01-26
Posts: 8 |
Posted: Sun, 2005-02-20 17:42 |
I'm not registered @ sourceforge to I tought I should report it here: 1: My target thumbnail width is 150px. 2: The previous/next buttons are really messed up, for example, "next" on http://domain.tld/main.php/v/album/100_0284.JPG.html links to that same page. (using G2/gallery2.2005-02-20-09-32-27.tar.gz) |
|
Posts: 8601
2) known bug
1) "generates an error" is not enough information to get any help
Posts: 8
An error has occurred.
Error (ERROR_TOOLKIT_FAILURE)
System Information
Posts: 8601
much better, thanks
looks like Gd is failing to get the dimensions of the image.. maybe try ImageMagick or NetPbm?
Posts: 32509
maybe the image is corrupted...
could we handle corrupted images more gracefully? like, no error but a message "image xy seems to be corrupted or has a wrong extension" or something like that.
Posts: 8601
he mentioned uploading an audio file and expecting thumbnail manager to use G2audio.jpg for the thumbnail.. so i hope the image isn't corrupted.
DiLDoG, you can confirm by going to modules/thumbnail/images/G2audio.jpg in your browser.
Posts: 8601
fix for (2) committed, try again with tomorrow's snapshot.
Posts: 8
no the image wasnt corrupted, I guess gallery gets confused when the orriginal image size is the same as the thumbnail.
I'll try to update to the new snapshot.
If I just overwrite everything except my g2data dir, and I run the upgrade script, will it be ok? I've got like 600mb data so re-adding everything isnt really fun.