Image not showing up in HTML |
Image not showing up in HTML |
throwaway |
Jan 10 2017, 06:51 PM
Post
#1
|
Group: Members Posts: 3 Joined: 10-January 17 Member No.: 26,261 |
Hi, absolute beginner to HTML here. Trying to get a simple website up but images aren't loading. Here is the webpage for reference: http://acsweb.ucsd.edu/~gpc001/examples.html
Thank you for any help. I've tried all of these formats for my picture (diff file names but all same picture): <img src=“pr1.gif”> <img src=“pracprob1.png”> <img src=“http://acsweb.ucsd.edu/~gpc001/pracprob1.png”> <img src=“http://acsweb.ucsd.edu/~gpc001/pracprob1.png”> <img src="images/irTRAUW.gif"> <img src="images/irTRAUW.gif" /> <img src="../images/irTRAUW.gif" /> <img src="/images/irTRAUW.gif" /> "http://acsweb.ucsd.edu/~gpc001/pracprob1.png" (and other file paths) shows up when I enter it in the address bar but it fails when I put it in the <img....> or <a href=...> format. Public html folder: Images folder: |
throwaway |
Jan 10 2017, 09:32 PM
Post
#2
|
Group: Members Posts: 3 Joined: 10-January 17 Member No.: 26,261 |
Oh my god I thought the problem was with the file path all along. I spent hours trying to fix it and it ended up being the quotation marks. TextEdit was converting my quotes to the wrong ones even though it was set to Plain Text, but I've fixed it now. Thank you for noticing!
|
Lo-Fi Version | Time is now: 28th March 2024 - 05:53 PM |