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 trialRyan Bent
6,433 PointsIs there anything special I need do for my theme to have images.
I added images to an image folder and they are still not showing up
2 Answers
Maja B.
12,984 PointsWhere in the WordPress structure have you added your folder?
In WordPress there is a special folder for images here: wp-content/uploads
In this folder WordPress organizes uploads (an image is an upload) in its own way. Buy making a special folder for each year and within that folder a special folder for each month.
So I do not know weather it is possible to just simply add a folder (like it is possible when making non-WordPress classic HTML pages) and expect WordPress to recognise it.
Better open any of your posts or pages. Click Add media and than click Select media (you can select a huge amount of images at once). Click Upload and wait a few minutes for them to upload.
Than go to a post/page where you want a certain image to be. Select it (its already uploaded) and in there you have it displayed on the front end.
I'm not an expert. Don't know the theory and different possibilities behind it. But this is how I do it and it works.
Ryan Bent
6,433 Pointsbuilding my own theme
Maja B.
12,984 PointsHey, sorry for a late reply. As you have probably already figured it out - in this case there special things you need to do to sort of "register" your logo. But unfortunately I don't have any experience with that.
See this course: http://teamtreehouse.com/library/wordpress-customizer-api/custom-wordpress-customizer-settings/adding-a-logo-uploader (Its part of the last section of the course WordPress Customizer API). Hope it helps.
Ryan Bent
6,433 PointsRyan Bent
6,433 PointsOkay, great. Thank you! I'm also trying to add images to the homepage, like a logo and home page pics. Would I use the same process?
Maja B.
12,984 PointsMaja B.
12,984 PointsFor the logo it is usually the WordPress theme that deals with it.
Are you building your own theme and need to know how to add logo? Or have you downloaded certain theme from the internet?