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

peter pritchard
seal-mask
.a{fill-rule:evenodd;}techdegree
peter pritchard
Front End Web Development Techdegree Student 173 Points

Can't Change the (px) width & height to 400 on PlaceIMG, help please!

Hi guys!

When I go to Placeimg.com & it initially gives you the option to change the height & width for the generated image, it's not allowing me to change it. Has anyone else had the same problem? :(

2 Answers

How about if you use the up and down keys?

Or just replace the values in the address:

https://placeimg.com/640/480/nature/sepia <- 640 is the width and 480 is the height.

https://placeimg.com/100/1000/nature/sepia <- Would give a sepia toned nature image 100px wide and 1000px tall.

This did work but this is extremely tedious to do, especially if you have hand issues at all. There needs to be a better solution for this. Thinking of reaching out to the site owners to let them know you can't type properly on there.

Having a similar problem. I cannot change the in-URL text, and the fields will not let me type zeroes for some reason. I'm using an iMac, could that be making a difference?

Correction: I can enter any number, but only one digit

I tried simply typing the URL myself directly into index.html, https://placeimg.com/400/400/animals/sepia, worked fine. Still curious what could be preventing me from typing into the PlaceImg website though