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

I cannot change the image size on the placeIMG website

When try to change the image size on the placeIMG website it is disabled. I tried using safari and chrome

1 Answer

Steven Parker
Steven Parker
229,744 Points

I'm not sure how it can be "disabled". The image size is part of the URL.

For example, to get a random photo that is 640 x 480, you would use: https://placeimg.com/640/480/any.
Then to get another random photo that is 240 x 180, you would use: https://placeimg.com/240/180/any.

If that doesn't clear it up, please show your code or make a snapshot of your workspace and post the link to it here.

Darrell Conklin
Darrell Conklin
21,988 Points

I know this is an old post but I'd just like to elaborate on the issue. When you use the website and click within the box to type in the dimensions it disables after the first number typed. Sure you can manually type in the dimensions into the url without using the generator but I believe this is what the OP was referring to. It's been over a year now and browsers change but I was only able to reproduce this behavior on Safari.