Last updated: Dec-16-2024
On this page:
Overview
Learn how to optimize all the images on your site automatically, using the Cloudinary Netlify build plugin.
Video tutorial
Tutorial contents
This tutorial presents the following topics. Click a timestamp to jump to that part of the video.
The Cloudinary Netlify plugin
0:00 | Netlify is a web platform that allows you to build and deploy web apps globally, and includes delivering assets from a CDN. However, Cloudinary can be used to optimize the delivery of these assets even further. The Cloudinary Netlify plugin applies blanket optimization to all images on a Netlify site. |
Install the plugin
1:16 | To install the Cloudinary Netlify plugin, log into your Netlify team page, or the site where you'd like to install Cloudinary, and select the Integrations tab. Search for Cloudinary, then click Enable. Then, click Install to install the plugin on a particular site. |
Configure your Cloudinary account for your Netlify site
1:40 | Find your Cloud name on the Dashboard, and set your cloud name in the CLOUDINARY_CLOUD_NAME field. Then click Install plugin. |
Trigger a new build and deploy for your Netlify site
1:49 | Navigate to the Deploys tab, then click Trigger deploy > Deploy site and wait for the site to be published. |
Notice how your images are optimized
1:59 | If you look at your site using developer tools, you can see that your images are now being fetched by Cloudinary and delivered with automatic format and automatic quality transformations. |
Configuration options
2:22 | Head over to the documentation to learn about the different configuration options for the plugin. |
Keep learning
Related topics
- Watch more Dev Hints videos on the Cloudinary YouTube channel.
- Learn more about image and video optimization.
- See the code for the Cloudinary Netlify plugin.
If you like this, you might also like...
Using the Next.js Image Component
Deliver images using the Next.js Image componentUpload Assets in React
Upload assets using the Upload widget in a React appOptimization Tips
Tips for delivering optimized images
Check out the Cloudinary Academy for free self-paced Cloudinary courses on a variety of developer or DAM topics, or register for formal instructor-led courses, either virtual or on-site.
✖️