manage the downloading of image from a network