how to put images on blog from the img folder inside the themes/mytheme

Topics: ASP.NET 2.0, Themes
Dec 30, 2010 at 10:47 AM

i make my theme in blogengine.net and have a little problem that

how i can put the images in menu who is inside header

i need to show them everywhere means when i use "themes/mytheme/img/myimg.png" then they work only from frontpage but when i go to seprate post that they not worked.

i want to put the images in img folder inside my theme folder because it's part of theme not parts of posts. but it's not worked in posts page even they work on frontpage.

are their any solution for them that image will show everywhere.

Dec 30, 2010 at 12:06 PM
Edited Dec 30, 2010 at 1:08 PM

Hmm this should be working?
I am using background/hover images in my menu and header without probs - I have them defined in my stylesheet though

Do you have a snippet of code which demonstrates what you're trying to do?

[EDIT] If I use full path to the root in the source attribute it's working fine, not sure that's what you want

A theme is presentation of content rather than content in itself, have look at this approach displaying images through css
http://www.edginet.org/techie/website/cssimg.html

You can probably a bunch of articles on the subject in question

hth /Peter