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

MySQL error when inserting data containing apostrophes (single quotes)

Simple Laravel CRUD with Resource Controllers