Cropping an image
Sometimes your content or page design might dictate that your image should be square or a certain size. ProcessWire enables site editors to crop images within the CMS as follows:
- Add your image to the appropriate field
- Mouse-over your image and an Edit option appaears.
- Click the image to reveal a panel containing a Crop button
- Click the Crop button to trigger the Cropping popup with a number of options
- Click the Crop icon and the image will display a preview of the cropping area with the remainder of the image greyed out.
- To resize the crop you can enter your pixel dimensions in the Width and Height fields and hit Enter
- To move the crop to a different area of the image you can click its center and reposition the crop area
- Click Apply to commit your crop to the Image
- Once complete, click the Save and Replace button
- You will be returned to the page edit mode. Don't forget to Save your page to see the changes on the front end of the site.