Twenty Ten 1.1 has resized images (5 posts)

  1. namklim
    Posted 5 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
    Posted 5 years ago #

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

  3. Michael
    Part-Time Forum Moderator
    Posted 5 years ago #


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

  4. masonictraveler
    Posted 5 years ago #

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


    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.


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

  5. thomshouse
    Posted 5 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