Make an image responsive - simplest way

You can try doing
<p>
  <a href="MY WEBSITE LINK" target="_blank">
    <img src="IMAGE LINK" style='width:100%;' border="0" alt="Null">
  </a>
</p>
This should scale your image if in a fluid layout.
For responsive (meaning your layout reacts to the size of the window) you can add a class to the image and use @media queries in css to change the width of the image.

Comments

Popular posts from this blog

How can I debug PHP cURL sessions?

Free icons

how to create template file in php. why it is usefull