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

Can you support image compression? #1059

Open
mxz94 opened this issue Apr 6, 2024 · 4 comments
Open

Can you support image compression? #1059

mxz94 opened this issue Apr 6, 2024 · 4 comments
Labels
question Should probably be a discussion

Comments

@mxz94
Copy link

mxz94 commented Apr 6, 2024

Can you support image compression?

@jossmac
Copy link
Member

jossmac commented Apr 10, 2024

Yes, via cloud images!

Image storage, optimisation, and delivery is one of the features of Keystatic Cloud—a product that integrates with Keystatic, offering additional functionality.

@mxz94
Copy link
Author

mxz94 commented Apr 11, 2024

I just want to save the image compressed with js to github

@jossmac
Copy link
Member

jossmac commented Apr 12, 2024

Could you explain in more detail what that might look like? Include screenshots, code snippets, links to existing implementations; anything that will help convey your assumptions and expectations.

@jossmac jossmac added needs more information Further information is requested question Should probably be a discussion labels Apr 12, 2024
@mxz94
Copy link
Author

mxz94 commented Apr 12, 2024

This is my keystatic.config.ts configuration
image

I wrote an article and uploaded a 1.32MB image.
image

Then I have the original file in my github directory, and I'd like this image to be compressed a little smaller (you can set the ratio)
image

@jossmac jossmac removed the needs more information Further information is requested label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Should probably be a discussion
Projects
None yet
Development

No branches or pull requests

2 participants