Inserting images
-
Hello! For the last 2 weeks I keep getting an error everytime I try and upload an image into one of my articles. The message says ‘ This block has encountered an error and cannot be previewed’ Any ideas of what I can do?
-
Hello @fivesen4,
That error message leads me to believe there’s an error in the file being previewed. Are you still able to attach the image regardless of the preview error?
Have you tried uploading the image first to your media library and then adding it to your post? Some more information about the specific steps you’re taking as well as the type of block you’re trying to upload to can help troubleshoot as well.
If possible, can you provide a media link to the image you’re trying to use? In case you’re not sure how to find the URL to share, just click on the image you’ve uploaded to the library and then EDIT. You should see an input with a URL to the right of the image with a COPY button.
I’d be happy to take a further look!
-
Hello!
Thanks for the response! I am not able to attach an image at all.
I am able to get images to upload into the image library however when I try to use an image block it gives me an error. When I try to upload to an image block directly it also gives me the same errorHere is a link to the image I am trying to upload https://fivesensesofliving.com/wp-content/uploads/2018/12/Text-placeholder-4.png
I hope I provided what you need for all of the questions you asked!
Thanks
Jill -
I forgot to mention that I did deactivate my image optimizer Ewww and that did not fix the problem
-
Hey Jill,
Thanks so much for providing the image – I wanted to make sure the sizing and/or format of the image wasn’t an issue (which it isn’t).
I did notice that you appear to be running the self-hosted version of WordPress. This forum assists users with WordPress.com hosted sites and unfortunately, cannot offer much help. You can learn more about the differences between WordPress.com vs WordPress.org here: https://en.support.wordpress.com/com-vs-org/
NOTE: I did try to see if there was someone else with your issue on the .org forums, but it appears the error message is general in nature and there are a few ways to diagnose what’s going on. You may want to start by making sure you have the newest version of Gutenberg. If you’re still having that issue after updating, I recommend starting a thread on the WordPress.org forums where someone there can help you troubleshoot.
Best of luck!
- The topic ‘Inserting images’ is closed to new replies.