Strange problem with image

by 6 replies
6
Hi today i have a strange problem on website

Please click this link : http://drakele.com/test/

and you see the image is horizontal but when you open the image link in new tab it's vertical

can anyone explain this ?

Thanks !
#website design #image #problem #strange
  • The code on that page says
    Code:
    <img src="1.jpg" width="400">
    So if you replace the above with:
    Code:
    <img src="1.jpg">
    It will display full size, horizontally.
    • [1] reply

    • I think you don't understand my question, i mean why image rotate when i don't using any script or css to make in turn
  • [DELETED]
  • The test page should have a code for that, probably your main theme. When I open the photo in a new tab, it displays the image .JPG and you can see it full size.

    For some reason, your theme displays the image with a custom size, not full size, you should always check your code even if you don't know much, you can always right click and inspect.

    What I see after clicking inspect element, this is what I see:

    Width 400, that's exactly your problem, that's a custom size. If you are using Wordpress when you add an image, there is an option where you can choose a custom size or full size, hope that can help you!
    • [1] reply
    • I agree with Nico Puegher. He understood your problem and explain very clearly. You should check your width size. Thanks!
  • This image is change according to width which you are given in code...
  • This is about your image size.
    Just follow advice above.

Next Topics on Trending Feed