Can't upload images in Post Body
See original GitHub issueHi - it seems the Post Body is not setup to handle any images? I get the following error on the Netlify Build:
7:30:33 PM: error There was an error in your GraphQL query:
7:30:33 PM: Input file contains unsupported image format
7:30:33 PM: 1 | fragment GatsbyContentfulFluid_tracedSVG on ContentfulFluid {
7:30:33 PM: > 2 | tracedSVG
7:30:33 PM: | ^
7:30:33 PM: 3 | aspectRatio
7:30:33 PM: 4 | src
7:30:33 PM: 5 | srcSet
7:30:33 PM: 6 | sizes
7:30:33 PM: 7 | }
7:30:33 PM: 8 |
7:30:33 PM: 9 | query HomeQuery {
7:30:33 PM: 10 | allContentfulBlogPost(sort: {fields: [publishDate], order: DESC}) {
7:30:33 PM: 11 | edges {
7:30:33 PM: 12 | node {
7:30:33 PM: File path: /opt/build/repo/src/pages/index.js
7:30:33 PM: Url path: /
7:30:33 PM: Plugin: none
Is there a way to fix this? Thanks,
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
$_POST - Cannot upload images larger than 1mb
However, whenever I use $_POST to try and upload images (all files are .jpg) larger than 1mb, I recieve a 413 error. The...
Read more >How to upload images to a POST request - Just getting started
Take the CURL command below: curl -X POST https://example.com/s… ... "description": "Body of text", "images": [ { "src": "http://site.com/images/image1.jpg" } ...
Read more >5 Ways to Fix Common WordPress Image Upload Issues
If you're only encountering issues with a specific image, you can start by taking a look at the file's name. If you're using...
Read more >How to upload an image to a post? - Meta Stack Exchange
All images uploaded to the Stack Exchange Imgur account in the manners above are from an HTTPS source and will display properly. Bear...
Read more >Add an image to Google search results
While you can't directly upload images into search results, searchable images posted on a website can show up in our search results.
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 FreeTop 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
Top GitHub Comments
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:
https://www.gatsbyjs.com/plugins/gatsby-plugin-image/
Hello, all of my image can be show. I can show an image if I change "position : relative " to comment but the image take his original size. I think it’s a absolute or relative problem in CSS.