implemented a fallback to the default image library