WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Images
Rsponsive image sizes (2 posts)

  1. barrycrous
    Member
    Posted 5 months ago #

    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/

  2. EliasNS
    Member
    Posted 5 months ago #

    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 %.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.