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!
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
Stephanie Bayides1,816 Points
instafeed.js plugin install image issue.
I'm trying to install instafeed.js plugin not sure how many of you are familiar with it, but it's a pretty simple install. I know I've installed the jquery properly, but the issue I'm having is that the plugin is calling images from the tag I've asked it to pull from from instagram, but all the images rather than coming up as thumbnails are coming up as broken image link icons.
I'm not 100% sure as to why, I have a working clientID from Instagram, I have everything coming through correctly (jquery is installed correctly as is the plug in itself). If anyone has any insight as to why I keep getting these broken image please let me know.
When I inspect the element as well, I get a ERR_FILE_NOT_FOUND error message for all the images. and it asks me to look at line 174 of the jquery code which brings me to this :
img.src = imageUrl;
I haven't worked much with pluging codes so any help would be appreciated. If you need additional information please let me know.
Rodrigo MuñozCourses Plus Student 20,171 Points
I can see there is now jQuery needed to use that plugin. Try your code without the jQuery as the
img.src might be conflict with the jQuery library.