image scaling bug — scale by width works, scale by height doesn't

  • Unknown's avatar

    When I looked at my blog this morning, it was exhibiting a wierd display bug. All of the images that I had scaled using <img src="image.jpg" "width=xxx"> were properly sized, but all of the images that I had scaled using <img src="image.jpg" "height=xxx"> had reverted to their actual pixel size. What’s going on here, and how do I fix it? I hope I’m not going to have to go back into all my old posts and change all the heights to widths, because I use scaling by height a lot more than I use scaling by width.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Use this type of code instead:
    <img style="height:250px;" src="URL HERE" />

    To avoid such issues, you should upload the images to your blog instead of inserting images stored elsewhere.

  • Unknown's avatar

    My images were all appearing with my desired scaling yesterday, though. I don’t understand what changed so that the html code for image scaling that I’ve been using for years worked yesterday and doesn’t work today. It also doesn’t make sense to me why my images scaled by width scale properly, but my images scaled by height don’t.

  • Unknown's avatar

    a) In my tests blog, using MistyLook, your way isn’t working – neither by height nor by width. My suggestion works with either.

    b) WP changes things all the time. I don’t know if it’s related, but did you notice that “infinite scrolling” was added to your main page?

  • Unknown's avatar

    I did notice the infinite scrolling, and I did wonder if it was related.

    I’ll have to try the different code format, thanks :)

  • The topic ‘image scaling bug — scale by width works, scale by height doesn't’ is closed to new replies.