Crop image without scaling or resizing with add_image_size()
-
Both of these tend to shrink the image and then crop it to the dimensions listed.
What I want is to just crop out the center of the image at 475 x 310
add_image_size( ‘test’, 475, 310, array( ‘center’, ‘center’ ) );
add_image_size( ‘test2’, 475, 310, array( ‘center’, ‘center’ ) );BTW I’m using the regenerate-thumbnails plugin to recreate all the images after I make a new add_image_size() deceleration.
What am I doing wrong?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Crop image without scaling or resizing with add_image_size()’ is closed to new replies.