Cloudinary image handling & upload field for SilverStripe
You have to define some mandatory configuration to get started:
Level51\Cloudinary\Cloudinary: cloud_name: String, mandatory api_key: String, mandatory api_secret: String, mandatory upload_preset: String, mandatory if unsigned, optional if signed # https://cloudinary.com/documentation/upload_widget#look_and_feel_customization theme: default 'white', # https://cloudinary.com/documentation/upload_widget#signed_uploads use_signed: true # https://cloudinary.com/documentation/admin_api#delete_all_or_selected_resources image_type: 'private' # Whether to show/hide the remove button show_remove: false # Whether to append the g_custom option or not use_custom_gravity: true
If you need any further fields just extend the Level51\Cloudinary\Image class with a data extension. To inject information returned by Cloudinary during the upload create another extension for the Level51\Cloudinary\UploadController and use one of the two extensions hooks onBeforeImageCreated or onAfterImageCreated. Both get passed the image object, either before or after the first write.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem