Local and Remote Images

Posted on May 19, 2024  (Last modified on February 2, 2025) • 1 min read • 93 words
Share via

Include responsive images from local sources and selected CDN image providers.

Local and remote images

Cloudinary  

As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.

Cloudinary Image
Cloudinary Image
markdown
{{< image src="https://res.cloudinary.com/demo/dog.webp"
    ratio="21x9" caption="Cloudinary image" class="rounded" plain=true >}}

ImageKit.io  

As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.

ImageKit.io Image
ImageKit.io Image
markdown
{{< image src="https://ik.imagekit.io/demo/default-image.jpg"
    ratio="21x9" caption="ImageKit.io image" class="rounded" anchor="Center" >}}

Imgix  

As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.

Imgix Image
Imgix Image
markdown
{{< image src="https://assets.imgix.net/examples/bluehat.jpg"
    ratio="21x9" caption="imgix image" class="rounded" anchor="Top" >}}