Usage
Last updated
Last updated
Ansel will feel very familiar to use in the publishing workflow because it builds on the basic ExpressionEngine control panel styles.
There are two options for getting an image into your field:
Drag and drop an image to the drop area or click it to select an image to upload
Choose an existing image in the file manager (or use the file manager to upload an image)
One of the advantages to using the drag and drop interface is the image will never be uploaded if it does not meet requirements — whereas if you go through the file manger interface and upload from there, the image will be uploaded by EE then evaluated by Ansel.
When you drag and drop an image over the upload area in a field (or choose one from the existing images in the file manager), Ansel will automatically select the largest portion of the image possible given the constraints set up for the field and add an image row.
You can use the re-order handles to change the order of the images in the field.
To change the selected area and/or crop of the image, click the image thumbnail which will bring up the cropping interface with a lasso to select the relevant portion of the image. When you have selected the area of the image you want, click the green check mark or press the enter key.
If you wish to cancel the crop operation, click the red X, or press escape.
Title, Description, and Cover fields are optional metadata that can be enabled in the field's settings. Ansel saves these values into it's own table along with the cropped images, but it also sync's the Tile and Description fields to ExpressionEngine's native Files storage. The Cover field has no equivalent in ExpressionEngine, so it is not synced. If you use the ansel_sync_meta_fields
config value this will be a two way sync. Read more about this in the Upgrading guide.