WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven
Image resizing in twenty eleven (4 posts)

  1. vickie
    Member
    Posted 2 years ago #

    I am having a problem with twenty eleven in that it will not resize an image on a page or post no matter what I do in the visual editor. It says it does but it doesn't...

    It seems to be the exact same problem that was found here for twenty ten
    Theme Image Resizing.

    I'd be so grateful if anyone can help me fix it for my twenty eleven child theme?

    Thank you

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Upload images that are the right size in the first place. Don't resize images via markup. It rarely works well (if at all).

  3. jmpagano
    Member
    Posted 2 years ago #

    @vickie, I'm not sure if I've got *exactly* the same problem as you. But I have been unable to resize photos in posts--using either the editor or the resize options (which map to Settings > Media). Instead, all images appear full size because they are assigned the class size-full and that class cannot (easily) be overridden.

    I've been working this for hours to no avail--but then I found this article. Note the reference to "GD library" in the Crunching paragraph. Turns out I was one of the people without this installed on my server, so the WordPress feature that "crunches" images down to the sizes established in Settings > Media weren't relevant. With this installed, everything works fine.

    @esmi, there are many reasons *not* to resize images prior to uploading (e.g., to insert smaller images that can be viewed full size on click; to make it easier to insert a large number of images, which is what I'm doing right now as I convert an old blogspot blog to WordPress). And I'm guessing that why the "crunching" feature exists in the first place.

  4. vickie
    Member
    Posted 2 years ago #

    @jmpagano Brilliant, thank you! Installing the GD library has solved my problem and everything now working fine :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic