• Hi all,

    Anyone have an idea on how to remove the width and height attributes from the img tag like so:
    <img width=”570″ height=”380″ src=”thisistheimage.jpg” alt=”15″>
    to
    <img src=”thisistheimage.jpg” alt=”15″>

    I know assigning a width with css will work, but think this might be a cleaner solution.

    Cheers

    https://wordpress.org/plugins/taxonomy-images/

Viewing 1 replies (of 1 total)
  • I don’t know any cleaner a more flexible way than CSS to give style to things. I think you can give it a max-width and a relative dimension like %.

Viewing 1 replies (of 1 total)
  • The topic ‘Rsponsive image sizes’ is closed to new replies.