How to set the image path in about section?

Topics: Themes
Sep 29, 2009 at 10:52 PM

Hi there,

In the about section, I set the src of a img tag to "themes/standard/some.png", but found when viewing the pages, this link is broken. It is understandable that when viewing the pages, the current url is page/xxxx.aspx so the path should be "../themes/standard/some.png", while in the home page, it should be different.

How did you guys solve this issue?

Thanks,

Gary

Coordinator
Sep 30, 2009 at 5:01 AM

You can set the SRC to either:

/themes/standard/some.png    (note the leading slash)
.... or .....
http://www.yoursite.com/themes/standard/some.png