Cloudinary offers a number of APIs for image manipulation and transformation, enabling dynamic resizing, optimization, cropping, and converting on the fly. The Cloudinary block lets you execute any number of image manipulations while in-motion over the PubNub network. For example, you may have a collaborative app, and when images are shared, you may automatically want to crop and change the file type. With the Cloudinary block, this processing of the image takes place in real time, before the image reaches its subscriber.
Use the predefined block to create easy image transformations using the Cloudinary API.
Highlights: – Dynamically adapt image properties — dimensions, crop, format, quality — and deliver an optimal version to every user, based on the image content and viewing context. – Easily apply a variety of image manipulations, such as overlays, watermarks, artistic filters, rotations, modified shapes and much more. – Seamlessly integrate Cloudinary with your application back-end using client-side integration libraries and SDKs for your development platform of choice: Ruby on Rails, PHP, Node.js, Angular, .Net, Python & Django, jQuery, Java, Scala, Android, iOS and more.
For images that are stored on Cloudinary, use the “upload” directive and supply optional transformations. Input Channel: cloudinary-input
For images that are stored on other websites, use the “fetch” directive and supply optional transformations. Input Channel: cloudinary-input
The Block adds the revised Cloudinary image URL into the message payload