-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
New hook for image post-processing #1463
Comments
Would be useful as one of our clients currently has users that upload crazy high quality images of wildlife. Would be nice to automatically scale those down to 1080p at most. |
I was wondering if this hook could be done entirely client side. The most server side should do is crop down the image to a smaller square (ex. 200x200) and then let client side do the work like resizing/moving/adding fancy instagram blurs ? |
@psychobunny can't do on IE8, but if you do not wish to support this feature on old browsers, then you can use canvas to do so. see my comment here |
Yeah I think it's not the end of the world if that doesn't work on IE8, as long as the picture loads without any post processing it should be okay |
Just a note, it's really bad performance to have the browser size the image... |
He committed and you commented right after the commit almost at the same time. 7d0eb9a |
Thanks Baris! |
For plugins and anything else that can be made to do things like resizing and manipulation. Right now for example, when you upload a topic image that is 2000x2000, it uploads but doesn't resize so therefore you have a thumbnail that is supposed to be 120x120 but its just scaled down and distorted to fit.
Can be configurable in ACP for topic images for starters.
And perhaps min and max image size in general.
The text was updated successfully, but these errors were encountered: