Closed sylflo closed 4 years ago
The images will be mixed into the HTML of your post content so this plugin should just work when you install it. If you parse the content into React you should be good! You can use dangerouslySetInnerHtml
or this https://www.npmjs.com/package/react-html-parser
Ah ok, I was being naive and stupid, I thought the plugin will send a list of images but it does make more sense to do what it actually does
No worries! It's an honest and not-stupid mistake. This is definitely the kind of issue I'd open myself 🤣 Let me know if you need any more help!
I seriously must have missed something but I am not sure about a few things
I update
gatsby-node.js
like thisI make a grapql request so I went to the
GraphiQL
console and send thisSo far so good, now I have a base64 in the content property. My question am I supposed to parse this base64 or is there a cleaner way to get the images ? Maybe using
imageSharp