Forum for discussing general topics related to Couch.
7 posts Page 1 of 1
I just added a gallery page in for a client and some of the images they are uploaded are the wrong orientation, I got a feeling it might be to do with the exif data in the image and they were taking that way

Is there a way or a function that could rotate them so they are the correct way or if in the edit image feature on the couchcms side, is a rotate feature so each image could be rotated if needed so they are the correct way

Thank you in advance
trendoman wrote: Does this hack still work viewtopic.php?f=3&t=7899&p=26756&hilit=rotate#p30690?


Thank you for the reply, I did try that hack but still didn't work so now thinking maybe it's just the way the photo was taken and the orientation is not in the exif data
ianhaney50 wrote: Thank you for the reply, I did try that hack but still didn't work so now thinking maybe it's just the way the photo was taken and the orientation is not in the exif data


Online exif viewer (http://exif-viewer.com/) may show the truth.
trendoman wrote:
ianhaney50 wrote: Thank you for the reply, I did try that hack but still didn't work so now thinking maybe it's just the way the photo was taken and the orientation is not in the exif data


Online exif viewer (http://exif-viewer.com/) may show the truth.


Thank you, I just put uploaded the image there and can't say orientation info
ianhaney50 wrote:
trendoman wrote: Online exif viewer (http://exif-viewer.com/) may show the truth.


Thank you, I just put uploaded the image there and can't say orientation info


Was the image uploaded to the Online Exif Viewer taken from Couch 'uploads' folder?

If so, then maybe Couch had stripped all exif data upon resizing during uploading through admin-panel. If you can find the original non-uploaded source image and check it with Online viewer, that would help. There is a setting in 'couch/config.php' — K_EXTRACT_EXIF_DATA. And the quote from Documentation » Photo Gallery which says:

As such, once the you turn on the setting to capture Exif data from images, Couch will NOT resize the uploaded images at all.
This is to keep the exif data within the image intact.
trendoman wrote:
ianhaney50 wrote:
trendoman wrote: Online exif viewer (http://exif-viewer.com/) may show the truth.


Thank you, I just put uploaded the image there and can't say orientation info


Was the image uploaded to the Online Exif Viewer taken from Couch 'uploads' folder?

If so, then maybe Couch had stripped all exif data upon resizing during uploading through admin-panel. If you can find the original non-uploaded source image and check it with Online viewer, that would help. There is a setting in 'couch/config.php' — K_EXTRACT_EXIF_DATA. And the quote from Documentation » Photo Gallery which says:

As such, once the you turn on the setting to capture Exif data from images, Couch will NOT resize the uploaded images at all.
This is to keep the exif data within the image intact.


Yeah I took the image from the couch uploads folder.

I'll see if I can get the original image
7 posts Page 1 of 1