Downloading images from server and adding to gallery