gets images from server