Change WordPress 2.3 uploaded image’s thumbnail size

    imagephp.png

    (Click for larger picture)

    WordPress is a very popular web 2.0 blogging php tool. If you host WordPress yourself, you may already using the upload function. After you upload the image and put it into the passage, the default thumbnail size is 128. It may not fit your needs.

    To fix it, you can resize it first using photo editing software But now, you have another choice. First, open the “image.php” file from WordPress directory “/wp-admin/includes/”, find the line with wp_thumbnail_max_size_length. Edit the value 128 to others you want. The value is counted using pixel.

    Now, upload the file back to the site. Upload a new image through WordPress, choose “Thumbnail” and link to “File”. You should see the thumbnail size is changed according to the preference.

    1 Comment

    Leave a comment

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <code> <em> <strong>