I'm editing a file using SharePoint Designer. Where is the folder url("/_layouts/images/)
stored on the server?
-
Welcome! A well written question encourages people to answer it! Please read our guidelines which I've used to improve your post. You can also read How to Ask for more general guidelines.– Kit MenkeCommented Aug 15, 2011 at 20:47
-
Can you edit files stored in _layouts folder (or one of it's sub folders) using SharePoint Designer? I was always under the impression that you couldn't.– Rob WindsorCommented Aug 15, 2011 at 20:53
3 Answers
Rob Windsor has said it above, but I wanted to give it "answer" status. While the _layouts folder does indeed live at:
c:\program files\common files\microsoft shared\web server extensions\12 (SharePoint 2007)
c:\program files\common files\microsoft shared\web server extensions\14 (SharePoint 2010)
\Program Files\Common Files\microsoft shared\Web Server Extensions\15 (SharePoint 2013)
SharePoint Designer will not allow you to open those pages.
-
Hi Guys Many Thanks for your replies, Marc and Rob thanks for both of your detailed answers, sorry i can only mark one as an answer though :(– DaveCommented Aug 16, 2011 at 8:13
The folder "_layouts/images" is a mapped folder in the web server. It maps to the server directory "c:\program files\common files\microsoft shared\web server extensions\14\layouts\images".
With SharePoint Designer you can only edit files stored in the Content Database, which are generally all files that are not in a directory starting with and underscore like "_layouts", "_vti_bin", etc.
If you need to modify Images, you have to upload them to a document library and change the former reference to the "_layouts/images/..." in the file referencing your image (page, master page, page layout, etc.). These files can usually be edited in SharePoint Designer.
look under 14 hive (if using sp2010) or 12 for sp 2007
-
3To clarify, this is usually under
c:\program files\common files\microsoft shared\web server extensions\14
withlayouts\images
taking you to the folder you originally required. Commented Aug 15, 2011 at 20:38 -
@Neize Becon: Welcome to SharePoint! While this post may answer the question, we prefer more details. Please edit your post with additional details. See How to Answer for general guidelines. Commented Aug 15, 2011 at 20:42