Maps, Databases, Computer Science, Automation

A Post with Images

Here are some examples of what a post with images might look like. If you want to display two or three images next to each other responsively use figure with the appropriate class. Each instance of figure is auto-numbered and displayed in the caption.

Figures (for images or video)

One Up

Two Up

Apply the half class like so to display two images side by side that share the same caption.

<figureclass="half"><imgsrc="/images/image-filename-1.jpg"alt="image"><imgsrc="/images/image-filename-2.jpg"alt="image"><figcaption>Caption describing these two images.</figcaption></figure>

And you’ll get something that looks like this:

Two images.

Three Up

Apply the third class like so to display three images side by side that share the same caption.

<figureclass="third"><ahref="http://placehold.it/1200x600.jpg"><imgsrc="http://placehold.it/600x300.jpg"alt="image"></a><ahref="http://placehold.it/1200x600.jpg"><imgsrc="http://placehold.it/600x300.jpg"alt="image"></a><ahref="http://placehold.it/1200x600.jpg"><imgsrc="http://placehold.it/600x300.jpg"alt="image"></a><figcaption>Caption describing these three images.</figcaption></figure>