Is it possible to use gatsby-image to render images loaded in Portable Text / Rich Text?

7 replies
Last updated: Jan 1, 2021
Hi everyone, with the risk of asking a stupid question – I was wondering if it’s possible to use gatsby-image to render images loaded in Portable Text / Rich Text – or not. Any opinions?
Nov 23, 2020, 12:04 PM
Nov 23, 2020, 12:06 PM
Nov 23, 2020, 12:06 PM
Amazing! Thanks for the quick response. I’ll check this out 🙂
Nov 23, 2020, 2:25 PM
Follow-up: Works perfectly well for what I need, so, thanks again
user Y
Nov 24, 2020, 8:06 AM
user G
Thank you for asking this! I’ve been struggling with this one for a while and glad to have a solution. Cheers
Jan 1, 2021, 11:45 PM
user G
Thank you for asking this! I’ve been struggling with this one for a while and glad to have a solution. Cheers
Jan 1, 2021, 11:45 PM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Related topics

Get more help in the community Slack

TopicCategoriesFeaturedRepliesLast Updated
How to deploy Gatsby sites using official Sanity starter templates25Nov 30, 2020
How to generate RSS.xml files from Sanity posts with gatsby-plugin-feed6Jan 12, 2021
How to make Algolia work with Gatsby & Sanity8Jan 7, 2021
How to improve image loading with Gatsby and gatsby-plugin-sanity-image?10Nov 27, 2020
Set up Draft Previews with Gatsby Cloud Hosting4Aug 26, 2020
How to display Sanity images in Gatsby-powered photography sites19Jun 16, 2020

Related contributions

Occo
- Made with Sanity

Complex product offering with nested product structure and tiered pricing.

Kevin Green
Go to Occo

Figma Config
- Made with Sanity

Website for Config, the global design conference by Figma.

Corey Ward
Go to Figma Config

The Agnes
- Made with Sanity

A high end rental real estate site built with Gatsby, Sanity and Shopify that pulls in listing data via API and includes a headless Shopify shop.

David Gross
Go to The Agnes