added preference for the image library