
March 6th, 2006, 09:03 PM
|
|
Contributing User
|
|
Join Date: Jan 2006
Posts: 47
Time spent in forums: 11 h 35 m 13 sec
Reputation Power: 3
|
|
|
Dynamic image swap
Are these possible in coldfusion? Im having trouble using javascript with my dynamic images. Basically, it looks like on the swap, the dynamic info (from the SESSION in my case) is lost or trunkated.
eg.
Orignial code:
<img src="images\final\#SESSION.insert.dID#\#SESSION.insert.photo1#" name="main" id="main"/>
As displayed before javascript swapimage:
<img src="images/final/111/111b.jpg" name="main" id="main">
As displayed after javascript swapimage:
<img src="images%0CinalIIb.jpg" name="main" id="main">
Everything is fine before the swap and then things get wierd. I also noticed that some of the paths show up as final/111/....
and others show up like %5Cfinal%5C111%5Ct111b.jpg
Could that be the problem, and if so how do i remedy it?
|