For security purposes, I keep my site's images outside of wwwroot in this folder: C:\extSite\stdImages\store
Then I created a mapping in wwwroot\WEB-INF\jrun-web.xml like this:
My store.cfm page has this: <img src="/extStdImages/store/#photoFilename#" />
The works fine on my dev site, but I just deployed to production where it does not work -- the images don't display.
Can anyone help? Thanks in advance!
Whoa, first things first: you're using the JRun web server in production? It's not a production grade web server.
No. I'm using IIS in production, and I'm using CF's built-in web server in dev.
Some of the research I've just done hints that maybe I need a virtual directory for my image folder. Does that sound right? If so, how would I do this?