I'm sorry if this has been addressed - I couldn't find a reference by searching.
I'm getting an error when I try to perform a custom crop on thumbnails.
My installation is pretty vanilla:
Zenphoto version 1.3 [5479] (Official Build)
Current gallery theme: Default
PHP version: 5.2.14
"Crop Thumbnails" is checked, set to the default 85x85.
Entering the crop interface works fine, but when I alter the crop and click "save" I get this error:
`Fatal error: Call to a member function getThumb() on a non-object in /path/to/gallery/zp-core/admin-thumbcrop.php on line 25`
I have read but can make NO sense out of line 25 in that file! Have I done something dumb in the config setup?
Thanks for any advice.
Steve
Comments
EDIT: also. What was the album name and image name of the image?
Thanks for considering this.
I didn't know to check for errors in the CGI log.
Client named files so they would stay in numeric order. Unfortunately, she used a period:
For example, files named like this:
1. first image.jpg
2. second image.jpg
It seemed to make no difference to the gallery, but the errors in the debug log point to a bad file name. Such as
`Backtrace: Bad filename suffix in newImage(18. )`
Does that explanation make sense to you?
So. I guess I have to delete all the images, rename all the files and start over. Or else just live with the thumbnails cropped as they are.
;-)
Thanks for your interest.
Steve
Whew.
Note to self: review the error logs before posting to the forum!
Steve