Skip to Content Skip to Menu

CB Gallery: Rotation of pictures

  • Toulouzing
  • Toulouzing
  • ONLINE
  • Posts: 111
  • Thanks: 15
  • Karma: 2
1 day 3 hours ago #343108 by Toulouzing
CB Gallery: Rotation of pictures was created by Toulouzing
This is just for my information. Many photos uploaded from smartphone are not in the proper orientation and need to be rotated by 90° or 180° but they can't anticipate from their smartphone so, it is only while displaying the photo in gallery that we see the reeel orientation. However, it is not possible to change this orientation. 

For a dvelopper, what should be the difficulty to add such feature ( a button to rotate image by 90%) ?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50081
  • Thanks: 8568
  • Karma: 1468
1 day 2 hours ago #343109 by krileon
Replied by krileon on topic CB Gallery: Rotation of pictures
EXIF orientation is already respected. In both client side and server side uploads. So if they took their photo with a mobile device and uploaded it should orientate correctly, but from a previous post I recall you turned off always resampling so some images probably aren't being resampled and thus this behavior can possibly be bypassed.

Aside from that what you're asking for already exists. Open a photo then view the dropdown menu for it where you'll see menu options to rotate a photo left or right and you can do so as many times as you need.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum