Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
images and my code ... something funny, help please!
Hi, thank you for reading this.
So here's my code:
<img src="baba/WebDesign/GAHM/GandMommiesLOGO.png" alt="Galileo And His Mommies Logo">
<img src="baba/WebDesign/GAHM/Geyes.jpg" alt="The Three Of Us" height="25%" width="25%">
My issue is that my images are not showing they were find one night then I stopped working and started again the next day but they images were not showing. I have tried everything I know and I can't get anywhere.
I do know the file paths are correct, or as best I can assess that.
Any ideas? I would so appreciate some help! Thanks in advance!
Perry Clark8,261 Points
Triple check your paths.
The pic size should be set with px not %
to height="25px" width="25px"
and adjust size
James Barnett39,199 Points
Like @Perry said, it's almost always an issue with your path. So here's a quick primer on file paths that should get you going.
Also depending on your web server, the directories & filename that makes up your path may be case-sensitive. So triple check the spelling and capitalization of the the path.
Let us know how you are getting along with this here in this thread.
James and Perry, thank you for reaching out. It was a file path issue. On mac's it is not a straight forward process but a researched a good work around. If anyone is interested....