Resizing images on upload

8 views
Skip to first unread message

Christian Varas

unread,
Jan 9, 2023, 5:16:26 PM1/9/23
to web2py-usuarios
Hello!

I would like to ask how I can resize an image on upload and keep the aspect/ratio or avoid losing too much quality.

If someone has a piece of code to share with me I will appreciate it a lot!

I have images of 4496 × 3000 of 4 Mb and they really slow down the load... I'm looking a way to improve this by doing a resize.

Cheers!
Chris.
Reply all
Reply to author
Forward
0 new messages