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

Server-side image optimization #182

Open
PVNFU-28 opened this issue Aug 11, 2020 · 1 comment
Open

Server-side image optimization #182

PVNFU-28 opened this issue Aug 11, 2020 · 1 comment

Comments

@PVNFU-28
Copy link

It would be really nice to have optional server-side image optimization using ECT.
it has to be optional though as it can use a lot of CPU power and make posting slower but it saves lots of bandwidth and memory.
.

@Appleman1234
Copy link
Contributor

That library doesn't have php bindings, there is already logic in place for thumbnail generation using imagemagick , so this would probably be a matter of adding option configurable image optimisation to post.php for a variety of filetypes, however it may block posting like PDF thumbnail generation, so it may need to wait until there is an asynchrous job queue, that posts the provided image immediately and then generates the optimized image afterwards and replaces it and regenerates the page.

However, most people want the image they upload to be the image they posted, without modifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants