Gatsby ImageCDN on Netlify  🖼 ☁️

The POW! web app is hosted on Netlify, and so is the soon to be released version of the marketing site.

However, after upgrading to the latest version of @raae/gatsby-source-youtube-oembed, with support for Gatsby ImageCDN, my sourced YouTube Thumbnails went blank...

Turns out support for Gatsby ImageCDN is not on by default; you need to set the environment variable GATSBY_CLOUD_IMAGE_CDN set to true.

GATSBY_CLOUD_IMAGE_CDN=true

After doing so and triggering a "Clear cache and deploy site," the YouTube Thumbnails came back, and all was good!

YouTube Thumbnail via Gatsby ImageCDN on Netlify .

 
All the best,
Queen Raae

 
PS: Interested in learning how to add Gatsby ImageCDN support to your plugin? Check out How to add support for Gatsby ImageCDN in your source plugin 🖼 ☁️

Stuck on a reef in the sharky waters around the Gatsby islands?

Book a 1-on-1 Gatsby Call with Queen Raae. Friendly advice you can put into action immediately, guaranteed!

Serious about Gatsby? Sign up for emails sent every weekday to help you get the most out of Gatsby!