By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,635 Members | 2,227 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,635 IT Pros & Developers. It's quick & easy.

displaying image in asp

P: 11
hellooooooooo

i m unable to display the image on asp page.problem is that is i stored the path of image in database and wan to display image on asp page.

I able to retrive the path from database. and that provided that path to img src tag but not working...

i am not understanding wher i get wrong ....
can it b possible to display image in this way????if not,what is way to display the image in asp page
Jan 31 '08 #1
Share this Question
Share on Google+
3 Replies


shweta123
Expert 100+
P: 692
Hi,

You can display the image on your ASP page this way :
<img src = "<%= rs.fields("imagename")%>/>

There are few methods by which you can rectify the image problem.
1) Check your image FilePath is proper.
2) Clear Temp Internet files.
3) Goto Tools menu of your internet explorer.Goto Internet options. Goto Advanced tab.Check if show pictures option under Multimedia is turned on.
4) Enable scripting,activex controls,cookies and Java programs.For this goto Tools, internet options .Click Security.Select Default Level.


hellooooooooo

i m unable to display the image on asp page.problem is that is i stored the path of image in database and wan to display image on asp page.

I able to retrive the path from database. and that provided that path to img src tag but not working...

i am not understanding wher i get wrong ....
can it b possible to display image in this way????if not,what is way to display the image in asp page
Jan 31 '08 #2

DrBunchman
Expert 100+
P: 979
Also you could try to view the source of your page once it has loaded, find the image tag you are trying to use, get the contents of the src='' and run it from the command line.

You will be able to see whether the url is correct or not.

Dr B
Jan 31 '08 #3

CroCrew
Expert 100+
P: 563
Hello RRsonawane11,

If you’re still having problems please show us your code that you are using so that we can further help you find a solution to your problem.

Have a good day~
Jan 31 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.