Images and Themes and MastePages

J

Javier Martinez

Hi
It is possible to use images, themes and Master pages in the same time?

I have my theme set in the web.config and all the pages (even my master
page) of my application are loaded with my favourite look and feell, all
works fine.

But I want to set a image control in my master page and that the image file
would be different bay each theme.

To try do it I write this sentence:
<asp:Image id="Image2" ImageUrl="~/Logo.gif" Runat="Server" />

but the image in the master page is not loaded.
And logo.gif is file storaged under the flowing directory :
AppThemes/MyTheme

What am I doing wrong?

Thanks in advance
Javier
 
J

Jon Paal

If the image is changed by selection of a theme, then the image url should be defined by the css file of the theme
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top