A good[ish] website
Web development blog, loads of UI and JavaScript topics
Heres how to add more image sizes to WordPress.
This goes in your theme’s functions.php
file:
if ( function_exists( 'add_image_size' ) ) {
// Non cropped tall thumb with 3:4 ratio
add_image_size( 'tall_thumbnail', 80, 107 );
// Small 30x30 cropped thumb
add_image_size( 'tiny_thumbnail', 30, 30, true );
}
Here’s what the parameters do:
array( x_crop_position, y_crop_position )
where:x_crop_position
accepts: 'left', 'center', or 'right'.y_crop_position
accepts: 'top', 'center', or 'bottom'.Comments would go here, but the commenting system isn’t ready yet, sorry.