How make bigger image to responsive

  • miq
    Inactive member
  • Topic Author
  • Member
  • Member
More
9 years 8 months ago #44780 by miq
I want to know that If I have this template and I write a article and put an image whose is 1150 px but I put that image in this code in the article <img src="smiley.gif" alt="Smiley face" height="650" width="350". After putting this code I want to know will the image still responsive for mobile or adjustable as per the widow screen. How we can make this image from 1150 px to responsive in the article?

Please Log in to join the conversation.

More
9 years 8 months ago #44783 by ivan.milic
Like this:



<img src="smiley.gif" alt="Smiley face" style="width:1150px; height:auto; max-width:100%;" ....


So it will be 1150px when there is space and when screen is less than 1150 max-width will limit it to 100% of container width

Please Log in to join the conversation.

  • miq
    Inactive member
  • Topic Author
  • Member
  • Member
More
9 years 8 months ago #44788 by miq
Dear Sir I found out a new way by doing it or Check the box for "Constrain Proportion". For more clarification I am attaching the screenshot of the image. I just want to confirm which one is right method to do so and staright forward this one or your one to avoid any other problem.
Attachments:

Please Log in to join the conversation.

More
9 years 8 months ago #44790 by ivan.milic
Ok, this is way you would do it directly from HTML.

Please Log in to join the conversation.

Time to create page: 0.163 seconds
Powered by Kunena Forum