I wanna know how photos are managed on websites.
Ex: A user uploads a Photo.. say which is 1024 * 768..
I have differnt size thumb nails on the website.
- 60 * 60
- 30 * 30
- 120 * 90
- 240 * 180
Since all the above images are not of the same aspec ratio.
which is the best way to resize and crop images to suit my needs ?
Note: Images will contain food or restaurant images. i am not sure how to crop them not knowing the nature of the of image composition.
You can’t auto-crop algorithmically which is why sites that need a certain aspect ratio ask the person uploading to manually crop the image.
Failing that, you’d need a person on the back-end doing the cropping for them.
Once you have the proper aspect, resizing is trivial.