Images auto rotate in rise vision

  • 1
  • Problem
  • Updated 2 years ago
  • Solved
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members.

I have some images that are taken from the same device (say 20-30 photos).  When I view them on the device or on a computer, all the files are in the correct orientation.  However, when I upload them to risevision and use the Image Widget to view the folder of images, it randomly takes a few images and displays them sideways.  It seems as though it's only the images that are taken vertically with the device (portrait) rather than landscape.  I know that exif data is used in a lot of photos to tell the software to display photos in the correct orientation, but does rise vision not do this?  I don't believe it's every portrait photo that gets rotated, but I'm not positive.  Anyone have any suggestions on how to stop this from happening?  We never know which ones will do this until after being uploaded to rise vision... which makes it a pain in the butt to change.  Thanks
Photo of Shawn Ouellette

Shawn Ouellette

  • 230 Points 100 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Darius - PRODO.us

Darius - PRODO.us, Champion

  • 26,850 Points 20k badge 2x thumb
Shawn, it is simple -  before uploading photos, save them with proper orientation.
Photo of Shawn Ouellette

Shawn Ouellette

  • 230 Points 100 badge 2x thumb
Hi Darius,
Thanks... but they are all saved with proper orientation.  As I mentioned, when viewing them in the folder on the computer, all photos are in the correct orientation.  It's only after being uploaded to risevision that some have been auto-rotated.
Photo of Darius - PRODO.us

Darius - PRODO.us, Champion

  • 26,850 Points 20k badge 2x thumb
hmm... then I would say put them into some photo editing software and re-save them again with proper orientation and while at it, optimize (reduce) the quality (if applicable). After all this is what I always do. Every photo/image I upload goes thru Photoshop first.

It is easier then it sound. In Photoshop set the new file with the proper settings, for example 1920X1080 @ 72dpi. Import as many images as u need/have. Crop and enhance as necessary. Then simply use available script to 'export layers to files' (JPGE with mid to high quality). Done.
Photo of Shawn Ouellette

Shawn Ouellette

  • 230 Points 100 badge 2x thumb
Yeah, that is a solution, but at the school where the users are uploading the photos, they don't have the time or the photoshop abilities to do this.  It just floors me that risevision can't handle photos like any other software.  The easiest way for us to alleviate this is to figure out which photos are being rotated, save them as a .PNG (using paint) and then export to a jpg again (using send to mail recipient).  Seems to be the easiest solution... but still cumbersome and a waste of time.  thanks for your suggestions.
Photo of Darius - PRODO.us

Darius - PRODO.us, Champion

  • 26,850 Points 20k badge 2x thumb
Try GIMP https://www.gimp.org/ , it is not so bad free alternative to Photoshop and way better then paint.
(Edited)
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Shawn,

I wonder if you are not getting hit by this issue with some camera's, and how their images are represented in a browser: http://www.howtogeek.com/254830/why-your-photos-dont-always-appear-correctly-rotated/

Can you take a look at that and let us know how you make out?

Thanks!
Photo of Shawn Ouellette

Shawn Ouellette

  • 230 Points 100 badge 2x thumb
Yes, we've looked at that... the problem is that 10 photos from the same camera work fine and 2 don't.  Inconsistent.
Photo of Shawn Ouellette

Shawn Ouellette

  • 230 Points 100 badge 2x thumb
Actually it's something I tried before but I didn't think it worked before.  I simply selected all of the photos in the folder (on my computer), choose "Send To Mail Recipient".  They opened up in Outlook as an attachment to a message.  Then I saved the images into a new folder and discarded the message.  Uploaded the newly converted (and reduced file size) images and they seemed to display correctly.
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Wow...I would have never thought of suggesting that. Nice work!
Photo of Shawn Ouellette

Shawn Ouellette

  • 230 Points 100 badge 2x thumb
Thanks... that's the method i use if I have to reduce the file size of a batch of images at once.  Just happened to work in this scenario too.
Photo of Darius - PRODO.us

Darius - PRODO.us, Champion

  • 26,850 Points 20k badge 2x thumb
The graphic designer in me would disagree with this statement. I understand it works, and it is smart approach, but people... u r better than this, do not you take satisfaction from the job done right )))
Photo of Shawn Ouellette

Shawn Ouellette

  • 230 Points 100 badge 2x thumb
Haha... I can appreciate that comment... but "done right" and "available time" are two completely different things (especially when it's for displaying a batch of images on a display that won't recognize orientation).  The displays we are working with are in schools... and there just isn't time to be individually resizing and rotating every image that gets uploaded.  This is a quick approach and gets the job done. 
Photo of Donna Peplinskie

Donna Peplinskie

  • 7,142 Points 5k badge 2x thumb
I personally looked into this particular issue awhile back, but unfortunately it's not something that can be solved in the Image Widget at this time. If interested, you can find more details of my findings in the original issue.

Thx.
Photo of Shawn Ouellette

Shawn Ouellette

  • 230 Points 100 badge 2x thumb
Thanks Donna, I read the original thread... according to what you wrote back then, you're saying its an issue with Chrome?  I'm not sure I'm following...
Photo of Donna Peplinskie

Donna Peplinskie

  • 7,142 Points 5k badge 2x thumb
Hi Shawn,

Essentially, images referenced in HTML files using an <img> tag, or when using the CSS background-image property, do not take exif data into account. As a result, the Widget won't necessarily respect the correct orientation, since orientation is part of the exif data.

So yes, this is an issue with Chrome. They would need to change it so that exif data is not ignored.

Thx.
Photo of Shawn Ouellette

Shawn Ouellette

  • 230 Points 100 badge 2x thumb
Okay, but if I drag the same photo directly into the chrome browser it opens in the proper orientation.  Same thing if I upload it to our sharepoint-based websites in chrome.  Rise Vision seems to be the only software we use that doesn't display the photos correctly.
Photo of Donna Peplinskie

Donna Peplinskie

  • 7,142 Points 5k badge 2x thumb
In the Chromium bug report that's linked in the Github issue, they say that:

As of webkit r132525, this is done when viewing image files directly. That change missed today's canary by 15 revisions, but it should be intomorrow's.
Images referenced from html files in <img> elements are not affected, intentionally for web compat -- this might be addressed through an explicit opt-in via css as suggested by noel in comment 8, but that's not done at the moment.
To me, this sounds like they fixed it when you open images directly in Chrome, but not when using the <img> tag to try to load an image yourself.

I suppose you probably could ask directly on that ticket if you have any questions related to this behaviour in Chrome.

Thx.