SharePoint 2013 – There are 2 layouts and images folders

SharePoint-2013

When you have the beta version of SharePoint 2013 running, you will notice that even if you never installed SharePoint 2010 on your brand new image.

Both the 14 and 15 root folder are available.

sp2013rootfolder

This means that we have 2 layouts folders and 2 images folders!

I created 2 small images called test.gif

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\TEMPLATE\IMAGES\test\test.gif “14 folder”
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\IMAGES\test\test.gif “15 folder”
When I navigated to http://sp/_layouts/images/test/test.gif the following image is shown

14folder1

But how do we use the content of the 15 directory? Easy!

When we navigate to http://sp/_layouts/15/images/test/test.gif the image in the 15 directory is displayed.

15folder

Summary

{weburl}/_layouts/ —— C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\TEMPLATE\LAYOUTS
{weburl}/_layouts/images —— C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\TEMPLATE\IMAGES
{weburl}/_layouts/15/ —— C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
{weburl}/_layouts/15/images —— C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\IMAGES

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s