Change Default Thumbnail Size in Wordpress
By Diona Kidd on Feb 25, 2008 in Open Source, wordpress
In Wordpress 2.3, you can change the default thumbnail size by editing the following code.
Open /wp-admin/includes/image.php and look for the following code:
$max_side = apply_filters( ‘wp_thumbnail_max_side_length’,
128, $attachment_id, $file );
The number specified here (128 by default) is the maximum size of either dimension. Just change this to whatever you like.

Post a Comment