Gregory SeccombFront End Web Development Techdegree Student 1,854 Points
cant recognize an image in the img tag
So, for my unit one test i have to change the profile image and some other things. and when I go to change the photo of the background or profile image some of the photos wont display. I have it under the limit made the photos the same type of file(a .png or .jpg file). no matter what I do it will not display the photos I add to it. I can still display any photo added with the file in the first place.
Mark SebeckTreehouse Moderator 22,836 Points
Are your images in a different folder? If so you have to add the folder to the image name like
<img src="images/pic.jpg" >
or is your html page in a subfolder? If so you have to move back to the root directory with ".." first
<img src="../images/pic.jpg" >