Change Default Thumbnail Size in 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