add_image_size is scaling, even though crop is set to true

I am trying to crop a 1000 x 648 image to 400 x 400. I use this code in functions.php add_theme_support( ‘post-thumbnails’ ); add_image_size(‘shop-size’, 400, 400, array(center,center) ); add_image_size(‘shop-size2’, 401, 400, true ); then i go to the regenerate plugin and run it. While I run it I open up wp-content uploads to check out … Read more

add_image_sizes ignoring crop sizes and using proportion

Before we start, the image is definitely big enough. I have an image that is 2206 x 2042 and I wish to crop (not scale) it in a number of different ways to be used responsively. The sizes I am trying to produce are: add_image_size( ‘artist-full-xs’, 730, 1842, array(‘right’, ‘bottom’) ); add_image_size( ‘artist-full-xs-sm’, 730, 1000, … Read more

Cropping, Re-sizing and Saving images from one folder to another folder in wordpress

I’m adding an upgrade for the WordPress plugin which I have developed ages ago. This plugin is just a product catalog, so just show products and their images. Products can have more than one images. I was re-sizing images in the older version of the plugin by CSS, assigning them width and height. Which was … Read more

add_image_size() zoom-crop

I’ve set up a bunch of additional image sizes in my functions.php theme file, with the crop parameter set to true. However, the images are resized but not cropped. if (function_exists(‘add_image_size’)) { add_image_size(‘frontpage_a-la-une_thumb’, 400, 215, true); add_image_size(‘single_thumb’, 320, 9999, false); add_image_size(‘category_a-la-une_thumb’, 280, 215, true); add_image_size(‘xxs-square-thumb’, 60, 60, true); add_image_size(‘xs-square-thumb’, 70, 70, true); add_image_size(‘s-square-thumb’, 98, 98, … Read more