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

HTML Introduction to HTML and CSS (2016) HTML: The Structural Foundation of Web Pages and Applications Image Tags

Erik L
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Erik L
Full Stack JavaScript Techdegree Graduate 19,470 Points

place Img not working

When I got to the section where the instructor places image place holders to the website in workspaces, I tried to change the pixel numbers, but for some reason its not working, I can't put 400 by 400, did anyone encounter the same problem?

5 Answers

Steven Parker
Steven Parker
231,248 Points

I don't have any trouble with it, but I noticed someone else did just a few hours after you posted this. Perhaps they had a bug but it's fixed now.

But if not, it's easy to manually construct a URL to fit your needs:

http:‌//placeimg.com/width/height/category

Just replace "width" and "height" with the desired size in pixels, and "category" with one of: "animals", "arch", "nature", "people", "tech", or "all".

Steven Parker
Steven Parker
231,248 Points

Perhaps it's a browser issue? I'm using Chrome. But does the manually-constructed URL work?

Hatem Zreek
Hatem Zreek
7,739 Points

I have the same problem. I think it is a bug.

I have the same problem! Is it possible to tell someone this??

Steven Parker
Steven Parker
231,248 Points

It still works for me. I just directed my browser (Chrome) to http://placeimg.com/400/400/any and I see an image that size. What do you get?

Lia Sansoucy
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Lia Sansoucy
UX Design Techdegree Graduate 16,070 Points

I had the same problem- figured maybe it was a Safari issue. I am so happy I figured out a workaround (just typing in the URL) on my own!