Cuong Huynh logo
  • Home 
  • Tags 

  •  Language
    • English
    • Vietnamese
  1. Home
  2. Food
  3. Local and remote images

Local and remote images

Posted on May 19, 2024 • 1 min read • 93 words
Blog  
Blog  
Share via
Cuong Huynh
Link copied to clipboard

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

On this page
  • Cloudinary
  • ImageKit.io
  • Imgix
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/image/upload/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" >}}
 4 công thức sốt chấm siêu dính
Third post 
On this page:
  • Cloudinary
  • ImageKit.io
  • Imgix
Follow me

I work on everything coding and tweet developer memes

     
Copyright © 2024 Cuong Huynh. Powered by Hinode.
Cuong Huynh
Code copied to clipboard