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 trialDrew Hartsfield
2,212 PointsHow to add multiple images to the post?
I just need to be shown an example where multiple images were successfully added to a post!
4 Answers
angelyork
1,519 Points<img src="img/example.jpg" alt="example image"> <img src="img/example2.jpg" alt="second example image">
Tomas Pavlik
26,726 PointsHi Drew, just add more img tags with different images, that's all.
tomas
angelyork
1,519 PointsNote that you don't have to close the tags. There's no </img> or anything.
Seth Kroger
56,414 PointsAre we talking about multiple images in the body of the post or in the template for all posts?
For the posts the Markdown syntax is to use an exclamation mark:
![alt text](/path/to/img.jpg "Title")
```with "alt text" being a description of the image for accessability. From http://daringfireball.net/projects/markdown/basics