-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't upload images in Post Body #139
Comments
Hi @alvisanovari, thanks for reporting. I'll be able to look into this in a few days. |
Hi @alvisanovari , could you provide more details about this error? I'm assuming, but want to double check, that by Post Body, you mean a Blog Post's Body content. Could you also provide information about the image you uploaded to the Blog Post's Body content? What type of image was it? PNG, JPEG, etc? I was able to add an image to the Body content then deploy to Netlify so want to see what edge case this might be failing on. Thanks! |
These messages usually come from:
try the following:
|
Yes its in the blog post body. It fails for some images and not others. I gave up trying to debug and just used different images. 🤷 |
Oh wait I'm being dumb I actually solved this a while back haha. Just change the GraphQL query it doesn't like the GatsbyContentfulFluid_tracedSVG field for some images. Here's an example: Change
To
|
Can you please open an issue in the Gatsby repository with some example images that fail with That way we could fix it for u and others :) |
Aligning images via css can be nasty with gatsby-image. Check the docs here: https://www.gatsbyjs.com/plugins/gatsby-image/ There will be a successor plugin soon, this one should make it much easier: |
Hi - it seems the Post Body is not setup to handle any images? I get the following error on the Netlify Build:
Is there a way to fix this?
Thanks,
The text was updated successfully, but these errors were encountered: