modify error load image from gallery