Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website Adding Pages to a Website Add a New Page

Cristiano Porto
Cristiano Porto
5,850 Points

why is my picture sideways?

I have uploaded my jpg into one of my html files. The picture shows up on the web page sideways instead of straight like its supposed to. Why is that and how can I fix it?

3 Answers

Davis Gramza
Davis Gramza
5,363 Points

I can't tell you excatly without seeing your source code, but if it is the case you are providing your own image, consider opening it in an image editor and rotate it via. the cropping method. It could be simply the file you have is already like that, not the websites fault.

Your profile picture has meta-data that is embedded on whichever the device/app used to take the photo. Different device/browser/app will render it differently. As mentioned above, by rotating it, you'll change the meta-data.

Kay Angevare
Kay Angevare
1,506 Points

As with every question, please include either a link to your workspace or at least the code you use to display your image. What you're asking right now is the equivalent of asking us to point out which piece of your 1000 piece jigsaw-puzzle belongs where, without showing us the puzzle.