Image Optimizations via Node.Js SDK

Comments

2 comments

  • Avatar
    Wissam Khalili

    Hi Paul,

    I assume that you are applying an incoming transformation that modifies the uploaded image before it is stored in your account. Therefore, the image that will be stored in your account after using incoming transformations, is the original image with all the requested transformations applied. That is why you only receive the original URL to the asset, which will contain the transformations applied to the original.

    If you want to keep the original image that you are upload and also transform it to create different derived/transformed versions, then you need to use eager transformations rather than incoming transformations.

    Please see the following section in the documentation for more information on eager transformations:
    https://cloudinary.com/documentation/transformations_on_upload#eager_transformations

    Hope this is helpful!

    Thanks,

    Wissam

    0
    Comment actions Permalink
  • Avatar
    Paul Arah

    Hi Wissam, 

    this was helpful. Thank you!

    0
    Comment actions Permalink

Please sign in to leave a comment.