Guides
Images Path

Changing the Location of Images

By default, the plugin will attempt to serve any image asset located in the /images directory as a Cloudinary asset.

This can be customized by passing in the imagesPath input.

Inside your Netlify config, add the following input configurations under your netlify-plugin-cloudinary plugin:

[[plugins]]
  package = "netlify-plugin-cloudinary"
 
  [plugins.inputs]
  cloudName = "[Your Cloudinary Cloud Name]"
  imagesPath = "/my-path"

If you'd like to specify multiple locations for your images, you can configure imagesPath as an array:

  imagesPath = [ "/my-path", "/my-other-path" ]