Opened 10 months ago

Last modified 6 weeks ago

#21294 new enhancement

Introduce zoom-crop in Media image handling

Reported by: TwoThirdsWater Owned by:
Priority: normal Milestone: Awaiting Review
Component: Media Version:
Severity: normal Keywords:
Cc: matt@…

Description

Please could the wordpress image handling introduce support for a zoom crop of images smaller than specified file sizes.

Change History (9)

  • Component changed from General to Media
  • Cc matt@… added
  • Keywords close reporter-feedback added

What is the question here? What kind of changed do you need?

If you upload a small image, then request a larger file format (as specified using add_image_size) Wordpress will return a larger image, but not cropped to the ratio specified in add_image_size. As I understand it wordpress does not currently support 'zoom and crop'. This would be a useful function as the current set up can break layouts by returning incorrectly shaped images.

  • Keywords close reporter-feedback removed

Ah that way. WordPress doesn't do upscaling. In this case I'm not sure what the right solution would be.

#23713 is related

At the risk of stating the obvious, a solution would be to enable Wordpress to upscale, or at least add it as a configurable option. Whilst I understand all the arguments about loss of quality, this would be a valuable addition to the image handling set up (and not a hard one to achieve).

Good to know. Many thanks!

Related: #13014

Note: See TracTickets for help on using tickets.