Forums

Photo resizing not showing up in post (3 posts)

  1. leffrey
    Member
    Posted 1 year ago #

    Hey guys, couldn't find a similar thread to this one.

    This problem has just come up: when I resize photos in the visual editor, the changes don't show up in the post. Normally if I want to put two photos side-by-side, I insert them as either Medium or Large, then resize them to make sure they reach the edges of the column. I either use the manual resizing tool, or just alter the pixel numbers in the Advanced properties menu.

    I've never had a problem with it before, but now it doesn't work. When I load a preview of the post, those photos come through as only Medium or Large, whatever they were inserted as. Even though the resizing changes I made are visible in the visual editor, and the new size values remain intact in the height/width field in the Edit (mountain icon) menu, the actual photos won't change in the previewed or published post.

    I think these are the first photos I've tried to put up since upgrading to WP 3.0 or 3.1, and also the first since changing the theme to Twenty-Ten. Don't know if either is relevant.

    The post link is http://www.heathenscripture.com/the-condor-flight-revival-of-ms-regina-spektor/

    Thanks, any ideas appreciated.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    It's probably the TwentyTen theme's CSS that is causing your problem. Try editing style.css:

    #content img {
        margin: 0;
        height: auto;
        max-width: 640px;
        width: auto;
    }

    and removing height: auto; width: auto;.

  3. leffrey
    Member
    Posted 1 year ago #

    Hey Esmi, sorry for the late reply, I've been away. Thanks for getting back to me.

    Had a look in the style.css but those values don't exist as far as I can see. (ie, "height:auto" or "width:auto").

    img { has a margin value and a max width value, but that's it.

    I don't know very much about css editing, so maybe I missed something or looked in the wrong one (it was Visual Editor Stylesheet). I searched there for the terms you mentioned and none were there.

    It must a problem germane to this theme, but I have no idea where it is.

Topic Closed

This topic has been closed to new replies.

About this Topic