Free plan

Contact Sheet

Show many pictures as small previews on one sheet
POST
/v1/images/contact-sheet

About this tool

Makes one sheet that shows small previews (thumbnails) of many pictures at once, like the contact sheets photographers print. You can choose how many columns, how big each preview is, the space between them and the background colour. It takes up to 100 pictures.
For example, you make one preview page of a whole photo shoot to choose your favourites.

How to use it

  1. Choose this tool.
  2. Add your pictures with Upload or drag and drop (up to 100).
  3. Set the number of columns and the size of each preview.
  4. Press Generate.
  5. Download the sheet.

What you get back

You get one new picture with all your previews, which you can download or print.
TEST IT LIVE

Try Contact Sheet in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Images
Plan
Free
Method
POST
Endpoint
/v1/images/contact-sheet
Tool ID
images.contact-sheet
Authentication
API key
Accepts
JPEG, PNG, WEBP, GIF, AVIF, TIFF +15 more
Background jobs
Yes
Usage group
Image
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/images/contact-sheet" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'images=@photo.jpg' \
  -F 'cols=1' \
  -F 'thumbSize=150' \
  -F 'spacing=10'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.images.contactSheet({
    "images": 'photo.jpg',
    "cols": 1,
    "thumbSize": 150,
    "spacing": 10
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->images()->contactSheet([
    'images' => 'photo.jpg',
    'cols' => 1,
    'thumbSize' => 150,
    'spacing' => 10,
]);
echo $result->requestId;
FAQ

Frequently asked questions

Show many pictures as small previews on one sheet.

Contact Sheet accepts JPEG, PNG, WEBP, GIF, AVIF, TIFF, SVG, SVGZ, BMP, ICO, APNG, PNM and 9 more. You can send several files in one request.

Contact Sheet is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/images/contact-sheet with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.