I am adding images to style image collection images through module. Here is my element.xml from my module
<Module Name="MyModule" Url="SiteCollectionImages" RootWebOnly="TRUE"> <File Path="MyModule\test.png" Url="MyImages/test.png" Type="GhostableInLibrary" /> </Module>
Images are uploaded successfully...
In my master page is trying to refer images are below
<img src="< %$ SPUrl: ~sitecollection/sitecollectionimages/MyImages/test.png %>" border="0" />
But i get error in console that its internal server error and gives path like this
How exactly to refer this image?
<SharePoint:scriptlink ID="ScriptLink6" runat="server" Name="~sitecollection/Style Library/Intranet/jquery-1.7.1.min.js"/>
Why its not picking image?