zefex
8 months ago

Best way to handle users image upload (for gallery)

Posted 8 months ago by zefex

I'm creating a website and the users will upload their images for their galleries. I'm wondering, what is the best way to do that: 1 - Let the use upload his image and crop/resize the image on the backend 2 - Use some kind of Vue plugin for resizing in real time where he can select the parts of the image he wants?

And also, what is the best sizes, aspect ratios and stuff for this kind of project? I'm afrid of people uploading images too vertically and I end up cropping their head on Laravel (haha)

Please sign in or create an account to participate in this conversation.