SharePoint: How to use relative URL for image in Master Page

<asp:Image ID="Image1" ImageUrl="<% $SPUrl:~sitecollection/Style Library/img/image.jpg %>" class="left-img-responsive" runat="server" />

Written by Paul

With 10 years of software development and support experience in the information technology industry, Paul has a proven track record in delivering swift, accurate results on multiple client engagements. He has developed cutting-edge web and client/server applications, E-Commerce customizations, and industry-specific solutions for clients. Currently working at the Government of...
Read more

Leave a Reply

-->
%d bloggers like this: