WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Ten 1.1 has resized images (5 posts)

  1. namklim
    Member
    Posted 4 years ago #

    The Twenty Ten v1.1 upgrade has resized the images so they now overlap the text (checked in Firefox, IE, Chrome).

    I reverted back to v1.0 and the images are now back to their original size and no longer overlapping the text.

    The html in the post is in the following style:
    [caption id="attachment_1460" align="alignleft" width="200" caption="Almeida"]<img class="size-medium wp-image-1460" title="Almeida" src="http://.../Almeida_village-300x225.jpg" alt="Almeida" width="200" height="150" />[/caption]

  2. thuvan
    Member
    Posted 4 years ago #

    I have exactly the same problem. Anyone know how to fix this?

  3. alchymyth
    Forum Moderator
    Posted 4 years ago #

    link?

    being able to see the problem on your site might get you more help.

  4. masonictraveler
    Member
    Posted 3 years ago #

    I'm having the same problem. The images in this post are scaled,

    http://www.freemasoninformation.com/

    but when published they revert to full size. If they are added with captions, they completely break the bounding and over flow into the post.

    here is another example.

    http://www.freemasoninformation.com/2010/03/the-better-angels-of-our-nature-a-review/

    Look on the page for the image of General Armistead about 2/3 down.

  5. thomshouse
    Member
    Posted 3 years ago #

    Found out the problem. There's a rule that says:

    #content img {
      ...
      width: auto
    }

    This causes images scaled via HTML attributes to be overridden to the image's real size. In all fairness, HTML attributes for height and width are deprecated, but I can't imagine it was intentionally broken.

    Removing the line that says "width: auto" doesn't break anything that I can see, because "auto" is an image's default behavior anyhow.

Topic Closed

This topic has been closed to new replies.

About this Topic