Support » Fixing WordPress » Thumbnail Size and Quality?

  • I recently got thumbnails working on my test blog. I am trying to migrate over from MT to WordPress. Everything looks fine except for thumbnails. I am hoping that I am just missing something. I have two issues.
    With MT I was able to select what size in pixels or percentage that I wanted the image resized. The thumbnail created with WP is too big. Any way around this?
    The second is the thumbnail that is created with WP is _very_ grainy. Has anyone noticed this same poor quality for the image? Am I doing something wrong?

Viewing 11 replies - 1 through 11 (of 11 total)
  • I’m searching the forums for a way to increase the quality of the thumbnail generated, no luck yet but found your post.

    WordPress does not generate thumbnails. It’s PHP modules like ImageMagick and GD libraries that do this.

    Is there a way to edit the code to make the GD-created thumbnails higher quality? They’re really subpar compared to imagemagick

    My suggestion would be to check that you have the most recent GD version.

    I’ve got 2.0.28. Here is an example of what I’m talking about.

    http://dark7.org/journal

    Is there anyway to set the compression level?

    Here’s an example of the same picture, resized with the method/utils that MT uses…

    http://www.dark7.org/blog/archives/000052.html

    The thumbnail not only looks a lot better, but it’s even 4kb smaller.

    Change the line in the file admin-functions.php
    from :

    @imagecopyresized ($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);

    to

    @imagecopyresampled ($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);

    “imagecopyresampled” does a LOT better job than ” imagecopyresized “

    Hope this works + helps!

    I was also having problems with thumbnail quality and didn’t like the switch from MT to wordpress for that reason. Maybe this can get in a new update.

    –Kevin

    THAT is exactly what I was looking for. Thank you so much Kevin. Now the thumbnail looks great, and is also 4kb smaller than the resized one.

    Kevin,
    Could you please log that in http://mosquito.wordpress.org ? Thanks!

    Sure thing, already logged it.

    What are the chances of making this fix available as a plugin?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Thumbnail Size and Quality?’ is closed to new replies.