couple days ago I have made a "photo gallery" for me and my friends with a simple login system. Everything works, uploading photos, removing them using a root account, downloading photos etc.
But the problem appeared when we uploaded some photos from a camera where one photo have 10MB. After 30 photos like that whole page is loading so long. Any idea how to display photos in lower resolution just in preview but still downloading this big size photo?