Let's say i have a form with input type="file"
. Is there any way to automatically optimize image when onchange event was triggered?
I'm not sure if this is possible, but i know that in WordPress ecosystem there are a lot of plugins for auto optimize each image on load.
I'm also wondering where it's better to perform optimization: on client side or server side?
P.S. app is hosted on google cloud platform if it's important
Asked
Active
Viewed 67 times
0

Pavel Poberezhnyi
- 733
- 13
- 28
-
GCP is a very big ecosystem, you should be a lot more specific... https://cloud.google.com/products/ – Dan Cornilescu Mar 05 '17 at 04:51
-
We use COMPUTE ENGINE – Pavel Poberezhnyi Mar 05 '17 at 12:05
1 Answers
0
You can use ImageKit.io. Directly upload from client or server side and always get optimized images. You can also use URL based transformation parameters.

manu4543
- 508
- 1
- 8
- 15