refine image download