icon Image Crop
Created by Orckestra

Image Crop User Guide

Adding custom aspect ratios

By default, aspect ratio options for cropping are:

  • "Landscape (16:9)"
  • "Portrait (9:16)"

If necessary, you can add your own aspect ratio options, too:

  1. Edit ~/App_Data/Composite/Configuration/Composite.Media.ImageCrop.xml.
  2. Add an <add /> element and set its attributes:
    • name: the name of the aspect ratio that will appear in the Crop Image window, for example, "200 x 200"
    • width: the minimum width to proportionally crop an image to
    • height: the minimum height to proportionally crop an image with to
  3. Restart the server (Tools | Restart Server).

Sample:

<configuration> 
  <AspectRatio> 
    <add name="${Composite.Media.ImageCrop,AspectRatio.Landscape}" width="16" height="9" /> 
    <add name="${Composite.Media.ImageCrop,AspectRatio.Portrait}" width="9" height="16" /> 
    <add name="100x100" width="100" height="100" /> 
    <add name="200x100" width="200" height="100" /> 
    <add name="100x200" width="100" height="200" /> 
    <add name="640x480" width="640" height="480" /> 
    <add name="1600x1200" width="1600" height="1200" /> 
    <add name="320x200" width="320" height="200" /> 
  </AspectRatio> 
</configuration>

Listing 1: Adding more aspect ratio options

Figure 9: More aspect ratio options

Back to top
Part of subscriptions:
Version 1.1.0

Have a question?

Phone: +45 39 15 76 00
Email: Write us
4:29 AM
(Local time at HQ)