use the three sizes of each uploaded image in appropriate places