Embedded images are ignored
See original GitHub issueI had to use the following to have embedded images display:
let options = {
renderNode: {
'embedded-asset-block': (node) =>
`<img class="img-fluid" src="${node.data.target.fields.file.url}"/>`
}
}
let bodyHTML = body ? documentToHtmlString(body, options) : ''
Seems like this should be a default (minus that bootstrap class); out-of-the-box, images didn’t display for me.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:38
- Comments:43 (2 by maintainers)
Top Results From Across the Web
EXIF Orientation data of embedded image is ignored - GitLab
EXIF Orientation data of embedded image is ignored ... The embedded image should be rotated according to the EXIF Orientation information.
Read more >Ignoring Small Embedded Previews in RAW Images
Some RAW formats use small embedded preview images. You can configure IMatch to use only previews above a certain size threshold and the...
Read more >Ignores embedded images references (aka cid) in CSS style ...
This mail shows Thunderbird reads the embedded style sheet, renders images inserted with IMG tag but ignores backgrounds set by css attribute.
Read more >How to ignore embedded jpeg image data in HTML using ...
import requests from bs4 import BeautifulSoup r = requests.get( 'https://www.sec.gov/Archives/edgar/data/2488/0000002488-18-000043.txt') ...
Read more >How to ignore attachments(images) embed in mail body - Studio
I need download only the actual attachment need to ignore embed images in mail body, looking for exports suggetions.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Try deleting Gatsby’s .cache folder. There’s an issue with relaonships and caching in the plug-in that I don’t really understand 😉
Here’s a stripeed down example of how i’m doing it with
documentToReactComponents
Example of embedded assets and a ‘blockquote’ content typeBlockquote component