I just realized there is a way to get medium sized images to be zoomcropped to fit the exact measurements you set in your WordPress options.
Now, I’d like to make this optional.
If it’s a landscape mode pic, zoomcrop it, if it’s a portrait mode, then don’t.
I believe it has something to do with
image_make_intermediate_size. Now, I don’t want to edit any core files, so I’m looking for a way to hook into that and do some height/width calculations before it’s being executed.
- The topic ‘image_make_intermediate_size’ is closed to new replies.