Support » Fixing WordPress » WordPress not resizing images

  • Goonky



    No matter what I change the width and height to, the image on this page does not change size.

    Any suggestions? I’m stumped. This is the new twenty ten theme.

    Here’s a direct link to the page with the problem image.

    If you click on the image you’ll see it open in a new window and it’s the right size.

    Any feedback welcome, I really don’t know what I’m doing wrong.

Viewing 6 replies - 1 through 6 (of 6 total)
  • taghaboy


    i’d like to help, but i dont understand your question?
    but i will try.
    if you mean that you want a thumbnail image not the full size, just click over the image in wysiwyg and click in edit, thane in the popup windows, go at button and chose the size of your image, you have 4 options.

    hop i help you.

    I’m having the same problem with the twenty ten theme…when I use the percentage scaler under an image’s Advanced Options, it all looks good in the WYSIWYG editor. However, when I actually look at the post when published, none of the images get resized correctly. Any ideas??

    This link does not take me to any page. It says -The Page Not Found.

    You can use a plugin to resize the images. You can download the plugin from here. In this plugin,you can resize the images at upload.


    I think this is a bug. When using the resize, WP is simply setting a width and height to the image. The problem is that the image still has the original style class of the image you picked. This class overrides the parameters set when resizing the image. In other words, if you picked the “large” version of your image (let’s say 600px wide) but then resized it by 50% (300px wide), WP would spit out something like this (watered down version):

    <img style="large-image" width="300" height="300" src="my_pic.jpg" />

    So, the width and height are ignored as the style class has higher priority.

    Found the problem (at least for many users I suspect). TwentyTen (and probably some other themes as well) has the following style set for the content div:

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

    The auto width and height are causing the problem…



    Forum Moderator

    It’s a known issue with TwentyTen. Removing width:auto;height:auto; usually fixes it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress not resizing images’ is closed to new replies.