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

Amassed 8 years of experience in the information technology field. Extensive hands-on skills attained in a wide range of technologies. Proven ability of delivering fast, accurate results. Worked in various capacities in the information technology field including: programmer, programmer analyst, technical analyst and quality assurance specialist.

Leave a Reply

Follow me on Twitter

-->
%d bloggers like this: