Consolidating images in one folder in wwwroot

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

Guest

Hi,

On our webserver we have many web projects deployed. Each project has its
own folder for Images. Many of the images are common between projects.. I
need to create a separate folder in wwwroot which contains all the images of
all the projects & want to reference that in my projects. How can I do that?
Do i need to add something to the Web config file saying that for all images
look in the IMAGES folder in wwwroot???

How to go about doing this?

Thanks
 
In each IIS application, map a virtual directory to this common images
directory.
Then every image URL can point to a generic url, such as this:
/images/somepicture.jpg
 
or create an images vdir under root, and reference all images as:

<img src="/images/sample.gif">

-- bruce (sqlwork.com)
 
Hi Steve,

There is a file called vssver.scc & a folder called _vti_cnf in each of the
Image folders in each application. So do I need to copy those too?? And if
yes ,then by copying images form different folder they will get overwritten
with the new file & folder..

What to do aboyt that?

Thanks
 
Back
Top