- 
                Notifications
    You must be signed in to change notification settings 
- Fork 69
Open
Description
This is kind of a long shot but it seems possible; it's probably less complicated than watermarking, overall! What I'd like to be able to do is pass Imager an array (or ElementModel collection) of images, with some parameters, and have it crop them all and arrange them in a row or a grid.
My vision is that you'd have something like this:
{% set newImage = craft.imager.transformArray(imageArray, {mode: grid, grid: { gridColumnWidth: 200, gridRowHeight: 300, itemResizeMode: 'crop', gridColumns: 4, gridRows: 'auto', bgColor: '#000000' } } %}
Or something, and it would resize each image individually (to 200 x 300, in the above example) and pour them into a grid with (in the above example) 4 columns and however many rows it needs. If there was any space not filled by images, it'd fill it with a background color or leave it transparent, whatever.
Metadata
Metadata
Assignees
Labels
No labels