modify components'url, imgFile and add 'is' attribute