Fixing idselector code to use different image host and type (sprite)