When I upload an image to a gallery using the Gallery add-on the image is automatically rotated from portrait to landscape(!) How can I stop this from happening?
MODx Revolution 2.0.5-pl
Gallery 1.3.0
I'm not any kind of expert in Gallery but my first thought is , try to update your MODx install to the last version, a lot of bugs have been corrected since 2.0.5pl, and a lot of new features appeared, the code has been cleaned etc...
It should be enough to solve your problem...
Cheers
That's what I thought too, so yesterday I upgraded to 2.1.3 (and managed to crash the entire site so I ended up doing a fresh install), so I now have the latest versions of both MODx Revo and Gallery. Still same issue...
-
☆ A M B ☆
- 309 Posts
This is just a hunch, but have you checked to see if the images you're uploading are actually the right rotation to begin with? I ask this because I know that on Windows at least, there are situations where you have images from camera phones or digital cameras that were shot as portrait, but present as landscape once imported to your computer; from there you can choose to "rotate" portrait images so they will be viewed properly in the Windows viewer, but they haven't REALLY TRULY been rotated... Windows thinks it's being clever and showing you the image how you want to see it without altering the file. So then when you upload it somewhere else it reverts to its actual orientation. Hope this makes sense... And maybe helps?
Appreciate the suggestion, but the images are definitely the right way around when I upload them. It's when I upload the image it's rotated 90 degrees (but only portrait images - landscape images are fine).
Actually.... I just realised it doesn't happen if I make the image smaller before uploading it! So it's to do with the file or pixel size...!!?
-
☆ A M B ☆
- 309 Posts
Have you tried saving the images larger or the same size and uploading them?
I'm having the same issue. It's never happened before on other websites.
I'll keep doing further research and testing to try and figure this out.