Border

Description

Adds a solid border around an image or video.

Learn more: Adding image borders

Examples

			import {Cloudinary} from "@cloudinary/url-gen";
			import {solid} from "@cloudinary/url-gen/actions/border";
			
			const yourCldInstance = new Cloudinary({cloud:{cloudName:'demo'}});
			const image = yourCldInstance.image('woman');
			image.border(
			 solid(15, 'green'),
			 // Or alternatively
			 solid().width(15).color('green')
			);
Details