Reputation: 21630
I'm creating a custom master page for my SharePoint 2010 publishing site. There are images, css files and js files associated with this custom master page. Where should they be stored?
I'm using the SiteAssets library for now - is this a good choice?
Thanks.
Upvotes: 3
Views: 5981
Reputation: 26
I usually store them in _catalogs/masterpage/ORGNAME/...
You can refer this blog for actual implementation http://markviky.blogspot.com/2010/11/sharepoint-2010-web-content-management.html
-Vighnesh Bendre
Upvotes: 0
Reputation: 2458
In my opinion, you should store everything under the site collection libraries, this way you get:
The preferred place is of course Style Library, this is what it is intended for.
Upvotes: 3
Reputation: 2416
If you are creating and deploying your files through code, you can also use the _layouts directory to store your files. This makes it simpler to share files between site collections. Visual Studio 2010 makes it really simple to add a reference to the Images folder and any files will then be deployed to the _layouts/Images URL.
The only advantage of this is that a site collection administrator cannot make changes to these files, only someone with access to the physical server. (Although this can also be a disadvantage if your logos or images are changing regularly).
Upvotes: 2