Site logo

Archived topic

Width & Height Image (IMG) Attributes

5 replies · Started by Janine on March 11, 2018

Viewing posts 1–6 of 6

Hi.

When I look at the HTML for my images, I see that WordPress is automatically specifying a width and a height:

Does this mean that my mobile users are getting this size image?

Can I safely delete those attributes?

Thank you!

Hi there,

Is there supposed to be an image in your post?

Hi, Leo.

Apparently, WordPress automatically adds a width and height attribute to all images I insert.

If those attributes are specified, does that mean that WP is serving both desktop and mobile visitors to my site the same image size as specified by the attributes?

If so, can I remove those attributes with incident?

Thank you!

Yup you can. I usually remove them as well :)

Thanks, Leo.

No problem.

This archived topic is closed to new replies.