I'm building a file storage programme that will also display images in photo galleries to users who upload them. I was wondering if anybody could help me out.My plan was if an image was wider than 500px then I would resize it to 500px (gallery and mobile use) width and 250px (thumbnail use) widthI have no serious experience with this so I was wondering if anybody could help me. How many different versions of a single image should I store and at what sizes. Thanks
Saving multiple copies of a single image at different sizes
web development;html;image
If you are using these images on your website, store them exactly in all different sizes you are going to use on your website.Image Scaling is a very important factor in a website's performance, and saves bandwidth and page-load time.Scale images in accordance to your need, as disk space doesn't costs much.See what google has to say about image scaling https://developers.google.com/speed/docs/best-practices/payload#ScaleImages