We help IT Professionals succeed at work.
Get Started

image not displayed when executed coldfusion

304 Views
Last Modified: 2013-12-24
Hi developers,
I have created one cfm page and where in i am calling an image into a table cell . the image is actually stored in my coldfusion server in a folder called "image".

when I execute the cfm page from localhost:8500/.....cfm, the page is getting loaded perfectly but the image is not displayed but an image icon is displayed with the image name. plz see the attached file.

If I see view source of the page and save the code in a notepad with aaa.html, and saved i in desktop and executed, and now image is displayed. i dont understand why?
The image code:
 
<td> <img src="C:\ColdFusion8\wwwroot\sitename\images\sample.jpg"  />

Open in new window

sample.JPG
Comment
Watch Question
CERTIFIED EXPERT
Most Valuable Expert 2015
Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE