Skip to content
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

Fix image previews in Netlify CMS #267

Closed
nholden opened this issue Mar 9, 2020 · 1 comment
Closed

Fix image previews in Netlify CMS #267

nholden opened this issue Mar 9, 2020 · 1 comment

Comments

@nholden
Copy link
Contributor

nholden commented Mar 9, 2020

There is a bug in Netlify CMS that prevents image previews from loading properly with the Cloudinary media library using the output_filename_only: true config. Let's fix this so that image previews work properly.

I started digging into the Netlify CMS code, and it seems like it would be pretty complicated to submit a patch to fix the bug. Ideally, we'd help fix this for everybody, but it seems like the workaround for now is to use output_filename_only: true and then extracting filenames from filepaths where we want to use them in our application code.

@nholden
Copy link
Contributor Author

nholden commented Mar 15, 2020

We fixed this issue with image previews, as well as an issue with newly uploaded images not loading in production, in #271.

@nholden nholden closed this as completed Mar 15, 2020
Website Enhancements automation moved this from To do to Done Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant