F
Filament2w ago
Enas

Image crop with specific size

Hello all, I have image upload in form with size 4040, so user can upload image and then edit it, now I want to show the square in edit view with that sizes (width and height 4040). Thank you.
No description
No description
5 Replies
Enas
EnasOP2w ago
No description
Mohamed Ayaou
Mohamed Ayaou2w ago
You mean you want the fileUpload field to display the cropped image after cropping? isn't that the default behaviour? are you saving the image after cropping?
Enas
EnasOP2w ago
No dear, I want when user click on edit (to edit image) show the square crop as 40*40 before he crop it
Mohamed Ayaou
Mohamed Ayaou2w ago
Is the cropped area shown on edit?
Enas
EnasOP2w ago
yes but the main issue is to show width and height like 40*40 here:
No description

Did you find this page helpful?