Every Cloudinary SDK has its own sample Apps demonstrating common Cloudinary use cases. For Ruby on Rails, those can be found in the cloudinary_gem repository on GitHub.
In this repository, you can find four different sample projects listed below:
Basic:
This sample Ruby project uploads local and remote images to Cloudinary and generates URLs for applying various image transformations on the uploaded files.
Basic-Rails: a basic sample for Rails:
This sample project is the Rails version of the Basic one above. In addition to image uploads, this sample application demonstrates the usage of Cloudinary's view helpers (e.g. cl_image_tag
) to apply various image transformations inside Rails views.
Photo Album:
The Photo Album is a full working project for uploading images to a persistent photo album and browsing photos and thumbnails. It uses CarrierWave for managing attachments in the model and performs uploading either from the server side or directly from the browser
User Profiles Active Storage
The User Profiles Active Storage is a full working project for uploading and delivering images using Active Storage and Cloudinary Ruby SDK.
Comments
0 comments
Please sign in to leave a comment.