I've created a custom site definition. According to some best practices, I kept it empty and deployed content with a couple of features. These features contain lists and libraries for instance, they're web scoped. The features are linked to the site definition so they are activated when the site is provisioned.
When I now create a new site collection based upon the definition, everything seems to work fine. But when I add a subsite based on the same definition to the root site, something strange happens. The "All Site Content" page isn't displaying any icons for libraries the features added to this site. I checked the HTML source, the image tag has no source i.e. src=""?
Furthermore it all seems to be working ok, but these kinds of things make me a bit nervous. So has anyone seen this behaviour before?