netlify pages-- ratsband.com. and coreysmaller.com.
images do not work on admin blog and front end. Images that previously worked are now throwing “File Not Found” errors from ucarecdn.com.
I am using React/ gatsby and I have registered uploadcare in my cms.js file like so –
import uploadcare from ‘netlify-cms-media-library-uploadcare’;
CMS.registerMediaLibrary(uploadcare);
my config.yml:
backend:
repo: csmaller/rats
name: git-gateway
branch: main
media_library:
name: uploadcare
config:
publicKey: xxxxxxxxxxxxx (removed for security reasons)
media_folder: static/assets
public_folder: assets
display_url: https://www.ratsband.com
logo_url: https://www.ratsband.com/images/rats_logo.jpg
collections:
- name: blog
label: Blog
folder: content/blog
create: true
fields:- { name: path, label: Path }
- { name: date, label: Date, widget: date }
- { name: title, label: Title }
- { name: description, label: Description }
- { label: ‘Featured Image’, name: image, widget: image, required: false }
- { name: body, label: Body, widget: markdown }