Categories
HTML

Image Placeholder Services

A useful tool when creating mockups are the many image placeholder services on the web. They give random photos at the sizes you specify. Some will let you choose categories, etc

I use placekitten.com a lot. Another is lorempixel.com.

With both, to get a random image in your page, you put in code for an image but for the SRC you use a URL like this: https://lorempixel.com/600/400

The last two numbers are width and height in pixels. So your code for an image would look like this:

<img src="https://lorempixel.com/1000/640" alt = "random image">

There are tons of these services. Some are funny or weird:

Some let you specify what kind of photo (sports, people, cities, etc) by modifying the URL. For example, https://xoart.link/ has lots of tags you can add like this

As noted, there are tons of these services . The syntax for the URL might vary a little, but each site will have instructions.

Finally, another personal favorite: placezombie.com.