Resized Cropped images can only be square
-
reference: https://www.ads-software.com/support/topic/featured-image-being-cropped
in modules/uploads.php lines 398 thru 408 the plugin specifies the arguments to the gae resizing/cropping feature provided by the google storage service. Unfortunately, the way it is currently implemented in this plugin, when an image size is specified with both width and height along with crop=>true, the output can only be sqaure. To allow for non-square dimensions the =s1234-c parameter needs to be replaced with =w1234-h1234-c. When crop is falsy, and the url therefore isn’t appended with the -c argument, then the =s1234 parameter behaves as expected.
- The topic ‘Resized Cropped images can only be square’ is closed to new replies.