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',...
I am setting the header image in WordPress and when I click on the crop button, it shows me the following error: There has been an error cropping your...
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...
I’ve followed this article to use Media Uploader in my code. When I click the Browse button on my form, the media uploader opens and after selecting the image,...
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...
I’m trying to build a plugin, and part of it requires to upload (or choose an already uploaded one) an image, and when it’s done uploading to crop it...
Lately I wanted to upgrade my blog with featured images/post thumbnails. I’m using a custom theme build on the roots theme (this is not a roots theme issue, I...
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....
I’m looking for a way to only set the width of a thumbnail size and let the height set auto. So if I have two images. One is 600px/420px...
Firstly, I have done my research as thoroughly as I possibly can. Searches have been made, but I have not found any advice or solution as to my exact...