While creating acidfree album's images, the rotating option doesn't work..
even after setting it to clockwise or anti clockwise, the pic is in the same old position..
Pls help..
While creating acidfree album's images, the rotating option doesn't work..
even after setting it to clockwise or anti clockwise, the pic is in the same old position..
Pls help..
Comments
Comment #1
WorldFallz commentedmoving yet another misplaced support request.
Comment #2
texas-bronius commentedWas there any more info found out about this? I'd like to ask the orig error reporter (keep smiling) more about his/her setup.
For me, same observation: "rotate doesn't seem to do anything". One thing I can contribute to the conversation is that my setup has Node Weight-- it seems that when I enabled that many months ago, I was unable to do some things against the node.
Where should we go to find error logs on this to provide more info? I see nothing reported in watchdog..
Comment #3
gwolf commentedThis might be the user perception due to browser caching - When asking Acidfree to rotate, it _does_ work, but the browser refuses to download the photo if it is already cached. In my case (using Iceweasel (basically Firefox) ), I had to open the just rotated image (not the page, but just the image) and hit reload.
Comment #4
texas-bronius commentedHi - Yes, I've fallen to the browser caching perception issue before. This is definitely not rotating. Again, it is possibly due to interaction with another module like node weight: Since there is no additional info, I will try to do more research on my end and report back what I find out.
Comment #5
mwheinz commentedConfirmed. Rotate works when you edit an image, but not when you upload it. It appears to have been disabled.
Turning it on causes image uploads to fail. It appears that even though the information has been added to the database, the file still isn't in the files/images directory, causing the rotation to fail.
Comment #6
mwheinz commentedBumping the priority to help order the things I'm working on.
Comment #7
mwheinz commentedPartial success - in the current dev code, the rotate takes effect, but image doesn't recognize that it must rebuild the preview and thumbnail.
Comment #8
mwheinz commentedOkay, I had literally written a comment about how I was ready to give up on this. Apparently there isn't a single module that uses the image_rotate() function, and the only thing I got from trying it was I found a bug in the image module, so I stomped off to the... errr... thinking room for a short break, and it occurred to me how to do it.
The new code uses a two-stage rotate operation. At the "presave" point, the original image is rotated. At the "update" or "insert" point (after the image is in the db) I re-load the node (had to, couldn't avoid it) and tell the image module to rebuild the derivative images for it.
Works like a charm.
Comment #9
mwheinz commentedHere's the patch, if anyone cares.