I have configured Active Storage to work with Cloudinary for image uploads following the documentation (https://cloudinary.com/documentation/rails_activestorage#direct_uploads). Now I would like to set it up so all the images uploaded from my app are resized to a certain maximum width / height in px before being stored.
I have seen here https://cloudinary.com/documentation/transformations_on_upload#incoming_transformations, that you can achieve this by configuring the 'upload' . However, this is not how I upload pictures, I upload them through form fields and Active Storage. How could I implement the incoming transformations in my situation?
Please sign in to leave a comment.