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) Adding a New Web Page Write the HTML

PlaceIMG

The website does not work properly, I can't write the specific size that I need, I can only scroll down or up and it takes forever... I think may be you could also give different choices to work with in the future just in case one doesn't work like in this case... Thanks

Steven Parker
Steven Parker
231,236 Points

Show the URL that you're having problems with, perhaps someone can suggest a solution.

Steven Parker
Steven Parker
231,236 Points

I didn't mean the URL of the service itself, I meant show the specific URL you are using to get an image of a specific size.

http://placeimg.com/640/480/any

This works fine, the problem I have is in the webpage, it does not let me enter specific sizes of the images I want, I lets me only by scrolling up or down.

1 Answer

Steven Parker
Steven Parker
231,236 Points

Perhaps it's a browser issue. I don't have any trouble using the page with Chrome.

But you don't really need the page ā€” it's easy to 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".

Yeah it might be, Iā€™m using safari... thank you for taking the time to answer me, you can tell I am really new at this... Have a great day!