able to upload and show pictures correctly