Created
November 23, 2012 18:39
-
-
Save caratage/4136777 to your computer and use it in GitHub Desktop.
Add image sizes for thumbnails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( function_exists( 'add_image_size' ) ) { | |
add_image_size( 'unlimited-width-thumb', 9999, 200 ); // unlimited width, 200 pixels height | |
add_image_size( 'cropped-thumb', 200, 100, true ); // (cropped) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment