Tag Info

New answers tagged

0

Just had to register a new image size for a medium image with $crop. It's the simple things!


1

No need for the filter. You can just call add_image_size later than the parent & it will overwrite.


1

Wordpress codex has the answer, its below. Set the image size by cropping the image and defining a crop position: add_image_size( 'custom-size', 220, 220, array( 'left', 'top' ) ); // Hard crop left top When setting a crop position, the first value in the array is the x axis crop position, the second is the y axis crop position. ...



Top 50 recent answers are included