Is there a possibility to rotate uploaded images (90°;180°)?

Thanks

CommentFileSizeAuthor
#3 _rtecomaçucar.jpg9.7 KBmarielacs
#1 photos.module-rotate.diff5.31 KBj0rd

Comments

j0rd’s picture

StatusFileSize
new5.31 KB

I needed this too, so I wrote a little code to make it work. This is created againsn't 6.x-2.5-beta4 and uses requires the imageapi module, as I use their rotator function.

See attached diff outputted from `svn diff`

The code is there, but could be improved. Especially the stuff relating to "$use_cache" as it only updates the main image for the users browser and not things like thumbnails.

Also I'm using #anchors to stop re-loading of the page from re-rotating, which should/could get improved.

j0rd’s picture

Status: Active » Needs work

updated status of feature request.

marielacs’s picture

StatusFileSize
new9.7 KB
pswartz’s picture

I hope someone still reads this ... I am unsure of just what to do with the above diff file. Can someone please educate me as I really need the rotate function for my albums. This is my last step before I can publish my site to the others in our group.
Thanks,
Patrick

nathaniel’s picture

Version: 6.x-2.5-beta4 » 7.x-3.x-dev
Status: Needs work » Closed (fixed)

The Drupal 7 version uses core image styles. Rotation can be set there.

config/media/image-styles