Problem with sideways pic uploaded to the site

If you have any comments, questions, suggestions, or problems with the BeardedDragon.org Website, please post them here. Forum Community related topics and the like are also welcome here!

Problem with sideways pic uploaded to the site

Postby RachelG » Sat Dec 17, 2016 8:52 pm

[TOPIC AUTO-LOCKED DUE TO INACTIVITY]

I have uploaded a few pics of my baby to illustrate a couple posts, however, many of them have uploaded sideways. Is there a way to edit the orientation without reuploading them?
RachelG
Website Supporter
Website Supporter
 
Posts: 78
Joined: Thu Dec 01, 2016 9:56 pm
Location: San Antonio, TX
- Advertisement -
- Advertisement -

Re: Problem with sideways pic uploaded to the site

Postby CooperDragon » Sun Dec 18, 2016 12:25 pm

I've found that happens quite a bit. I think it has to do with the coding embedded in the image by your phone camera and how it's processed by the code on the site. I don't know of a way to adjust it after the fact. I've read that the orientation you hold your phone when you take the photo has something to do with it. It's not a huge deal really. It not too tough for us to view the images even if they're turned around.
Image
User avatar
CooperDragon
Moderator
Moderator
 
Posts: 24527
Joined: Thu Mar 27, 2014 8:41 am
Location: Iowa City, IA

Re: Problem with sideways pic uploaded to the site

Postby beardie » Mon Dec 19, 2016 7:59 am

Yeah. It's a combination of certain phones/cameras embedding the "orientation info" in different ways, and that the code I wrote for handling/processing the uploads doesn't take into account the way that they are doing it. I have not had a chance to sit down and rework that code (I really need to get to that).

One workaround is to take the image in your phone (it's usually phone pics that do this), edit it within the phone, rotate it sideways (doesn't matter which way), save that, then edit it again, rotate again until straight, then save again. What I've found is that when edited and re-saving the orientation, it does it in the way that the code on the website expects. I don't know why the original picture doesn't.
Not a vet, just a concerned former keeper
Image
User avatar
beardie
Site Administrator
Site Administrator
 
Posts: 10849
Joined: Tue Nov 27, 2001 1:47 pm
Location: Orange County, CA, USA
- Advertisement -
- Advertisement -


Return to Website Comments

Who is online

Users browsing this forum: No registered users