[Resolved] Width & Height Image (IMG) Attributes

Home Forums Support [Resolved] Width & Height Image (IMG) Attributes

Home Forums Support Width & Height Image (IMG) Attributes

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #516868
    Janine

    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!

    #517048
    Leo
    Staff
    Customer Support

    Hi there,

    Is there supposed to be an image in your post?

    #517117
    Janine

    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!

    #517376
    Leo
    Staff
    Customer Support

    Yup you can. I usually remove them as well 🙂

    #517555
    Janine

    Thanks, Leo.

    #517902
    Leo
    Staff
    Customer Support

    No problem.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.