Hi, I have been using this tutorial and it works great.
But there is one issue: when I upload the pictures from my laptop, any portrait picture becomes landscape. Landscape is landscape.
On the other hand, when I use the computer, it prints correctly in the screen.
The images are uploaded correctly if I look at the height px and width px. (portrait will have larger height px at DB whether I use laptop or computer). But it will print in screen as landscape both on computer and laptop when I uploaded the same portrait picture from the laptop (I a talking about the same pic). When uploaded the same portrait pic from computer, it will show portrait on both computer and laptop...
Do you have any suggestion?
I am about to have a rotate feature so this may be fixed. The problem is I am new to PHP...
Any help will be greatly appreciated.
Thank you.

Recommended Answers

All 3 Replies

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.