Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

birdietorerik's avatar

Rezize profile image Laravel

Hi! Created a application in Laravel 10.x & Vue.js

Have a profile page for user, that user can upload image to server. The problem is that if the image is to big i get 413 error (Request Entity Too Large)

Howe can i solve this problem ? Is there some functions or somthing that can reduse size of image ?

0 likes
3 replies
birdietorerik's avatar

@Snapey Hi! Locks good, but if i want to upload big files. It can resize image so i dont get 413 error ?

Snapey's avatar

@birdietorerik thought that was what I said.

Image Optimization

Automatic resizing and cropping of images on the client saves server bandwidth and dramatically increases upload speed.

Please or to participate in this conversation.