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

WordPress

Conor Costelloe
Conor Costelloe
1,915 Points

Images not displaying

In stage 4, "custom post types and fields" in the wordpress development course, my images are not being displayed when i view my page, I've followed the instructions according to the video, is there anything i could be missing ?

2 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Can you post the code you're using please. You have the images added in the admin area already, correct?

Conor Costelloe
Conor Costelloe
1,915 Points

All the other fields work so I did an inspect on the link element this is what is generated <img src="" alt="Example image of Example 1">

The address for the image is not being generated automatically, when i copy and paste in the address the image then displays but i don't know why its not being automatically added in when you create the page