cloudinary-community / gatsby-transformer-cloudinary

Use Cloudinary images with gatsby-image for high performance and total control!
https://gatsby-transformer-cloudinary.netlify.app/
MIT License
69 stars 28 forks source link

How to upload local image to Cloudinary during Gatsby build #243

Closed Edward-Zhou closed 9 months ago

Edward-Zhou commented 9 months ago

Hi,

I am trying to following Upload Local Images and Add Gatsby Image Support which shares how to achieve upload local image to Cloudinary.

I installed the package, and replace the keys in gatsby-config, I am not sure whether LocalUploadExample is requried.

The actual scenario is that, I am using Gatsby to create blog project with mdx, and then the post will reference local images, how to upload the local images to Cloudinary and reference the cloudinary image while accessing the blog post.