Forum

Thread tagged as: Question, Discussion, Field-Types

Quick Image Cropping question

If I set the width and height to the same size and say crop="true", is it supposed to crop a non-square image to a square?

if not, is there any way to do this - within the CMS

e.g.

<perch:content id="painting" type="image" label="Painting" width="400" height="400 crop="true"  />

cheers

Ben

Ben Read

Ben Read 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, it will crop an image to square. You just need to close the height attribute.

doh!

Cheers Drew