load icon and fanart from different folder ?

i tried to load in the xml the icon(thumb) and fanart of my add-on from folder in the add-on “resources”, but it is not working…
Is there are any option to load .icon and fan art from folder “resources” in the main folder?