falue / szenodb

Forum for art dep workers in the film & theater industry to share knowledge.
https://szenodb.ch
GNU General Public License v3.0
0 stars 0 forks source link

Resize images before uploading #59

Closed falue closed 1 year ago

falue commented 1 year ago

Mobile photos are massive..resize everything to 1200x1200px pr so

falue commented 1 year ago

did it client side. not optimal, but: server-side, i tried using the firebase extension "Resize images". it creates new images with new path & token. original ones are not touched (or deleted, for that matter) so i would need to check if resized are done and then save that URL to the db. which would mean wait for the user while uploading, which misses the point of have a server side solution.