Added support for multiple extensions for category images