Hi,
I'm using imagecache a lot to create square thumbnails. 1.6 doesn't give me the wanted result anymore. You can see what I get in the attachment.
Preset is something like
- Scale
- outside dimensions
- width: x
- height: x
Crop
- width: x
- height: x
- center
- center
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | scale_crop.png | 84.01 KB | derjochenmeyer |
Comments
Comment #1
vladsavitsky commentedI have the same problems with crop action in 1.6 and 2.1
Comment #2
hansrossel commentedSame problem here when upgrading from 1.5 to 1.6, scale+crop does not function correct anymore.
Reverting back to 1.5 solved the problem.
Comment #3
jadwigo commentedI can confirm this
I get the following errors in my messages:
And the following messages in the watchdog:
The behaviour for the keyword "left" instead of "center" gives no problems.
Comment #4
derjochenmeyer commentedGot the same problem, see attatched screenshot.
Comment #5
benovic commentedsame here
Comment #6
omnyx commentedSame problem here - as a result all my user's profile pictures are messed up! (I use imagecache profile picture module)
you can see an example here
http://www.thehvoice.com/files/imagecache/user_image_default/files/user_...
I'd appreciate any ideas on how to tackle this.
I presume I could go back to ImageCache 5.x-1.3 which seemed to work fine. A quick question - when disabling imagecache module for upgrade (or downgrade) do imagecache presets remain intact in the database. I ask this because a previous upgrade seemed to have messed up my presets.
hansrossel - when you went back to 1.5 did you first disable the imagecache module, updated the new files, reenabled it and ran update.php? What happened to the presets?
Comment #7
maartenvg commentedThis is a duplicate of #242932: revision 1.19.2.36 throws divide-by-zero and other errors when first generating a derivative, which has fixed and committed to dev.
So either use 5.x-1.x-dev, or use the patch mentioned in the above issue.