b2KIT

Image Gallery Layout Planner

Plan responsive image gallery layouts with grid, masonry, and carousel previews.

Gallery Settings

Add placeholder images or upload your own to preview the gallery layout.

CSS Code

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive: stack on mobile */
@media (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

Responsive Tip

For responsive layouts, consider using auto-fill or auto-fit with minmax() instead of a fixed column count. Example: grid-template-columns: repeat(auto-fill, minmax(200px, 1fr))

How to Use Image Gallery Layout Planner

  1. 1

    Upload your images

    Select all the images you want to arrange in a gallery.

  2. 2

    Choose a layout

    Pick grid, masonry, carousel, or another gallery style.

  3. 3

    Arrange and preview

    Drag images to reorder and preview the gallery layout.

  4. 4

    Export the layout

    Download the gallery plan with dimensions and arrangement.

Related Tools