# Possible to place multiple images side by side?

**URL:** <https://meta.discourse.org/t/possible-to-place-multiple-images-side-by-side/38169>\
**Category:** Feature\
**Tags:** completed\
**Created:** [19 Gennaio 2016, 10:26am UTC](https://meta.discourse.org/t/possible-to-place-multiple-images-side-by-side/38169 "2016-01-19T10:26:30Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![ccdw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ccdw/32/51564_2.png) [@ccdw](https://meta.discourse.org/u/ccdw)\
**Post date:** [19 Gennaio 2016, 10:58am UTC](https://meta.discourse.org/t/possible-to-place-multiple-images-side-by-side/38169/7 "2016-01-19T10:58:47Z")

</div>

You can target these images with CSS, either float or inline block. The problem you face is how to discriminate between images you want to have inline and those you don’t.

You could add a tag to the post, eg gallery and then target that, but I think you’d need jQuery to select the target for the style as the tag element is a sibling of the topic body, not a parent (from memory in any case).

You could also encode something in the img alt tag and target that. That works fine with CSS but it’s a bit messy.

Alternatively, I use a gallery plugin from Flickety in my test site:

> **[Flickity v2 · Touch, responsive, flickable carousels](https://flickity.metafizzy.co/)**
>
> Touch, responsive, flickable carousels

It’s overkill for what you say you need, but does give good results. This carousel picks up on the carousel tag and renders a carousel - it also works with lightbox. I will post code at some stage, but not until I’ve managed to find out how to load the gallery script with require…

 ![](https://global.discourse-cdn.com/meta/original/3X/8/5/8545fcfa92dfc0a5013f687c460a8bd1fcd04f38.jpg)

---

_[View the full topic](https://meta.discourse.org/t/possible-to-place-multiple-images-side-by-side/38169)._
