//fixed bug with images when theme don't have associate image type