Closed (fixed)
Project:
Acidfree Albums
Version:
4.6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2005 at 16:04 UTC
Updated:
8 Nov 2005 at 19:25 UTC
I am having problems trying to get images to rotate. I have gd and ImageMagic installed on my development server and my production server. On my development server I have jpegtran installed but I cant be sure if my hosting provider has jpegtran installed or what the path is.
When I edit an image and select one of the rotation options nothing happens. The image is still the same.
I have run acidfree/test and it says everything is ok. So what I am I missing. What is the minimum requirements to rotate an image and what is the best setup for rotation in your opinion. This is a very useful feature and any help to get it working would be great.
Thanks for a great module.
NaX
Comments
Comment #1
vhmauery commentedjpegtran and exiftran are just extra things that are nice. They are not required. They offer lossless rotation, which is something I like. But gd, imagemagick, or imagick work fine for rotation too. To use imagemagick, you need to use the image.imagemagick.inc file that ships with the Image module. (you don't need the rest of the image module though.) Copy that file to the includes directory and configure your image manipulation library on the admin/settings page. GD should work just fine though, and doesn't require forking and execing another process, so it is probably more efficient.
You might also check out your browser's cache settings. My mother-in-law has caching issues and can never seem to rotate images correctly, even though it really is working fine. Her browser never wants to load the modified image.
Comment #2
NaX commentedI still cant seem to get this working.
If I understand you correctly both imagemagick and GD can rotate images. I have tried to rotate a image then refreshed the image and cleared my cache. The image is still not rotated and now for the large image it is coming up saying that the image cant be displayed because their has been errors.
So I went and downloaded the file using FTP and I found that the file was 0kb big. Then I looked around and found that lots of large files where 0kb big.
How does the rotation work. Lets say I edit an image select, Rotate image Clockwise 90°, then click submit. Is it supposes to rotate the image immediately or does it work off the cron.
And lastly what do you prefer imagemagick or GD.
If this is working for other users and not me then I am really confused.
Maybe I should update my version. My version is about 2 weeks old using 4.6.0 not cvs.
Comment #3
vhmauery commentedDid you change the setting for the large image size in admin/settings/acidfree? I still haven't figured out how to get that to work. That is the only way I have seen that we get 0 byte images for the large images.
The rotation should be immediate. The cron hook is only for resizing images that are already there.
I am using GD on my website, but GD, imagemagick or imagick should all work the same.
Are you seeing any errors when you rotate? And yes, you should probably update acidfree. Daily. :)
Comment #4
NaX commentedOk I had my Resolution of full size image: Set to 2 megapixel. I have set it to no maximum. Is that the correct setting till this gets implemented.
And no I am not seeing any errors. About updating, my .module file is from 2005/10/29 is updating as easy as replacing the files or are their database and file system changes I need to consider.
Comment #5
vhmauery commentedThere are no database changes, if that is what you are asking. You should just be able to download the new tarball from the acidfree project page and untar it in the module directory to replace the old acidfree directory. Also, make sure you update the filemanager -- it has changes and bugfixes since then too. Again, with that, there are no database changes.
I am closing this since it is resolved.