Hope all are fine.
This code below is in notepad
My code is as below and i am not able to display JPEG image the file and the image are in same folder


Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Javeed M ShaikhRank #839 · 2.7K reputationPosted Apr 16, 2013, 6:23 AM EDT
1. Image name is correct including the extension as mentioned in the html.
2. The image location is correct in the html, check the image exist at the same location where you HTML file is, other change the code to src="folder\imagename.jpg"
B M SuchitraRank #2,922 · 492 reputationPosted Apr 16, 2013, 7:32 AM EDT
I have the image and the html file in the web folder in E drive.. Since image is in same folder i did not mention full path..
Javeed M ShaikhRank #839 · 2.7K reputationPosted Apr 16, 2013, 7:52 AM EDT
I tried your code and changed the image name to the one i have and browse the page in IE, the output showed me the image, so i am sure that the image name you are passing is incorrect are you sure it is .jpeg and not .jpg
B M SuchitraRank #2,922 · 492 reputationPosted Apr 16, 2013, 6:14 PM EDT
Its a .jpeg image. But not getting displayed in IE nor mozilla nor chrome. The file name is correct and i hope my code above is correct...
Please help i am still stuck
Javeed M ShaikhRank #839 · 2.7K reputationPosted Apr 19, 2013, 7:06 AM EDT
B M SuchitraRank #2,922 · 492 reputationPosted Apr 19, 2013, 5:21 PM EDT
Please find the image attached..
Javeed M ShaikhRank #839 · 2.7K reputationPosted Apr 19, 2013, 8:24 PM EDT
B M SuchitraRank #2,922 · 492 reputationPosted Apr 19, 2013, 9:15 PM EDT
The image does not get displayed in mozilla at all.. Please have a look at the code given below along with files attached.. Where am i going wrong?