add_image_size problem
-
Hello,
I created this function:
function mytheme_add_custom_image_sizes() { // Add "vertical" image add_image_size( 'vertical-c', 800, 1000, true); add_image_size( 'vertical-b', 800, 1000, true); } add_action('after_setup_theme', 'mytheme_add_custom_image_sizes' );
With the same width and height the image vertical-b is showing a square image and vertical-c isn’t cropped.
and the setup for midia is:
Thumbnail image with a 150×150 resolution.
Medium image with a 800×1000 resolution.
Large image with a 1024×1024 resolution.`How can I crop a vertical image?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘add_image_size problem’ is closed to new replies.