Wordpress Thumnail Size
March 26th, 2007
The default thumbnail size for Wordpress is just ridiculous. It’s to small to realy see what exactly the image is. Changing the default thumbnail size is unfortunately not in the Wordpress options.
Following these easy steps, you can change this:
![]()
- Open
wp-admin/admin-functions.php
- Find (as of 2.12 this is on line 2118)
$max_side = apply_filters( 'wp_thumbnail_max_side_length', 128, $attachment_id, $file );
- Change to
$max_side = apply_filters( 'wp_thumbnail_max_side_length', 256, $attachment_id, $file );
- Save and upload the file.
These easy steps will double the thumbnail size. You may adjust the altered number to a size of your choice, however 256 will probably be perfect for any theme.