Skip to main content

Eager transformations - shrink assets

Comments

1 comment

  • Brian Luk

    Hi Olli,

    Performing an eager transformation will generate a derived version of the asset, which will be stored in your cloud in addition to the original.

    To achieve limiting the maximum dimension of an image to 3000px, you could include the eager transformation:

    $maxdim_3000/if_iw_gt_ih_and_iw_gt_$maxdim,w_$maxdim/if_ih_gt_iw_and_ih_gt_$maxdim,h_$maxdim

    If you would like to upload and store the asset with a height and width of 3000px, you could use an incoming transformation instead of an eager transformation.

    Let me know if this makes sense?

    0

Post is closed for comments.