Image path?

Topics: ASP.NET 2.0, Controls, Themes
Feb 7, 2010 at 3:46 PM

I have an image referenced in my theme master page with this:

<img align="left" alt="Southern Arizona Hiking Club" src="../../Images/sahclogo2.gif" />

It show up on all pages except when I have [more] in a post and click on more.  I am using BE 1.6 and VistaDB Express.

How may I get the logo image visible on all pages?

 

Thanks you

Coordinator
Feb 7, 2010 at 6:47 PM

There's at least 2 ways.

Method 1:
src="/Images/sahclogo2.gif"

Method 2:
src="<%= BlogEngine.Core.Utils.RelativeWebRoot %>Images/sahclogo2.gif"