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

Use Preview Versions Of Images For Media Library #1970

Closed
Undistraction opened this issue Dec 22, 2018 · 1 comment
Closed

Use Preview Versions Of Images For Media Library #1970

Undistraction opened this issue Dec 22, 2018 · 1 comment

Comments

@Undistraction
Copy link
Contributor

Undistraction commented Dec 22, 2018

Is your feature request related to a problem? Please describe.
Currently the default media library uses the full sized uploaded images in its previews. We have a large number of large (2600px wide) images, and once there are more than 20 or so in the library, it becomes sluggish and unresponsive. So even though each image is only displayed at 276px wide, the image is actually the original - nearly ten times wider than it needs to be.

Describe the solution you'd like
When uploading an image a preview version of the image should be saved, and the preview, not the uploaded image used in image previews.

Describe alternatives you've considered
There is no available alternative as far as I can see as the upload and previewing are handled by the library.

Note that I'm using Gitlab Self-hosted as the backend, so it may be specific to how Netlify CMS handles images there.

@tomrutgers
Copy link
Contributor

Duplicate of #946

@tomrutgers tomrutgers marked this as a duplicate of #946 Dec 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants