#How to CROP an Image before uploading to DB?
7 messages · Page 1 of 1 (latest)
Usually images are not store in a DB, only id.
Next can optimize the output but not the input, then you have to do this before, do it manually or use some image processing (cloudinary or something else)
or use css, it's simplier haha (aspect-ratio: 1/1, object-fit: cover;)
yes easiest way if you only need a 1:1 ratio
You are my hero