Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Adding Cloudinary-based image support for ExpressionEngine

License

Notifications You must be signed in to change notification settings

easy-designs/easy_cloudinary.ee_addon

Repository files navigation

Easy Cloudinary for ExpressionEngine

ExpressionEngine Plugin to automate use of the Cloudinary.

Setting it up

All configuration of this plugin happens in your ExpressionEngine Configuration file:

$config['easy_cloudinary'] = array(
  'cloud_name' => 'YOUR_CLOUDINARY_CLOUD_NAME',
  'template'   => '<img src="https://res.cloudinary.com/{cloud_name}/image/fetch/f_auto,q_auto/{image_url}" {attributes}>'
);

Be sure you have set the URL to the root directory of your site in your config file or in CP Home > Administration > General Configuration.

Once you have that in place, you simply wrap the content you want to adjust. All images will be processed through Cloudinary.

{exp:easy_cloudinary}
  YOUR CONTENT
{/exp:easy_cloudinary}

Any images (local or remote) will be swapped for Cloudinary-handled ones using the template you set up in the config file.

License

Easy Cloudinary for ExpressionEngine is distributed under the liberal MIT License.

About

Adding Cloudinary-based image support for ExpressionEngine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published