added progress for image preview