Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
not getting image on browser by using img src...
Posted
Comments
StianSandberg 17-Jul-12 2:28am    
ok
project virus 17-Jul-12 2:30am    
what i have to do for it?
ssd_coolguy 17-Jul-12 2:36am    
AlluvialDeposit... you are such a nice person ... :) i can't contorl :-D

hello project virus,
What you have tried??
project virus 17-Jul-12 3:15am    
thanks ssd... but i am trying for image which is not displaying on some browsers.on some browsers it displaying .what i have to do if i want to display it for any browsers...
ssd_coolguy 17-Jul-12 3:21am    
yes i got your point.. but can you show us byte of code. so we can help you. is there any browser dependent code? or you need to check browser setting..

hi ,

in image source won't give any special characters in source path .

img src="mypicture.jpg" alt="Smiley face" height="50" width="50"


if image file is another folder

img src="D:/myfolder/mypicture.jpg" alt="myimage" height="50" width="50"
 
Share this answer
 
Comments
project virus 17-Jul-12 2:56am    
no actually that image shown on another.What I have to do if i want to show it on any browser??
Unareshraju 17-Jul-12 8:21am    
r u doing on HTML5?
if Yes Please refer the Support browser.Because of HTML% will n't support all browsers
do 1 thing you just keep that image in folder with your page and give image name only in path..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900