A easy way to get the theme folder name?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there, I store all my images in the theme folder so that it can be
changed. The problem is that I need to use <img> to access these images , but
I don't want to lose the theme capability. So is there a way to get the theme
folder name ? or even better , somehow to hook <img> and theme together?

Note , in my situation, I cannot use server control , because 1. the source
is reference by javascript, 2, I don't want the asp.net running crazy just to
parse a image.

Thanks
 
Walter,

Create a virtual folder in your asp.net application's IIS folder that points
to your them folder.

Regards,

--
S. Justin Gengo
Web Developer / Programmer

Free code library:
http://www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
Hi Justin, not sure how virtual folder help me here since I need to get the
dynamic folder based on the theme that user picked. I end up build a custom
expression for solve the problem.

Thanks for the help.
 
Back
Top