# How to create a 3D spin

A **[3D spin](https://sirv.com/demos/3d-spin-with-controls/)** can be rotated in any direction: left/right/up/down. It shows a product from more angles than a **[360 spin](https://sirv.com/features/360-product-viewer/)**, which can only be rotated left/right.

3D spins can be created either by photographing a product on a turntable or by rendering JPEG/PNG images of a 3D computer designed model.

## Example 3D spins

Any number of rows and columns can be used. The more images, the smoother the rotation.

### 48 images

<table class="bg-surface-raised bg-linear-to-r from-default/(--opacity-tint-1) to-default/(--opacity-tint-1) rounded-3 p-1 border-separate border-spacing-0 text-sm leading-5 tabular-nums" data-slot="table"><tbody><tr class="group/tr"><th class="px-2.5 py-2.5 align-middle bg-surface-raised bg-linear-to-r from-default/(--opacity-tint-1) to-default/(--opacity-tint-1) text-foreground font-medium border-0 text-start"><strong>Rows</strong></th><td class="px-2.5 py-2.5 align-top bg-surface border-b border-divider group-last/tr:border-b-0 group-first/tr:first:rounded-tl-2 group-first/tr:last:rounded-tr-2 group-last/tr:first:rounded-bl-2 group-last/tr:last:rounded-br-2">4</td></tr><tr class="group/tr"><th class="px-2.5 py-2.5 align-middle bg-surface-raised bg-linear-to-r from-default/(--opacity-tint-1) to-default/(--opacity-tint-1) text-foreground font-medium border-0 text-start"><strong>Columns</strong></th><td class="px-2.5 py-2.5 align-top bg-surface border-b border-divider group-last/tr:border-b-0 group-first/tr:first:rounded-tl-2 group-first/tr:last:rounded-tr-2 group-last/tr:first:rounded-bl-2 group-last/tr:last:rounded-br-2">12</td></tr><tr class="group/tr"><th class="px-2.5 py-2.5 align-middle bg-surface-raised bg-linear-to-r from-default/(--opacity-tint-1) to-default/(--opacity-tint-1) text-foreground font-medium border-0 text-start"><strong>Total</strong></th><td class="px-2.5 py-2.5 align-top bg-surface border-b border-divider group-last/tr:border-b-0 group-first/tr:first:rounded-tl-2 group-first/tr:last:rounded-tr-2 group-last/tr:first:rounded-bl-2 group-last/tr:last:rounded-br-2">48</td></tr></tbody></table>

### 50 images

<table class="bg-surface-raised bg-linear-to-r from-default/(--opacity-tint-1) to-default/(--opacity-tint-1) rounded-3 p-1 border-separate border-spacing-0 text-sm leading-5 tabular-nums" data-slot="table"><tbody><tr class="group/tr"><th class="px-2.5 py-2.5 align-middle bg-surface-raised bg-linear-to-r from-default/(--opacity-tint-1) to-default/(--opacity-tint-1) text-foreground font-medium border-0 text-start"><strong>Rows</strong></th><td class="px-2.5 py-2.5 align-top bg-surface border-b border-divider group-last/tr:border-b-0 group-first/tr:first:rounded-tl-2 group-first/tr:last:rounded-tr-2 group-last/tr:first:rounded-bl-2 group-last/tr:last:rounded-br-2">5</td></tr><tr class="group/tr"><th class="px-2.5 py-2.5 align-middle bg-surface-raised bg-linear-to-r from-default/(--opacity-tint-1) to-default/(--opacity-tint-1) text-foreground font-medium border-0 text-start"><strong>Columns</strong></th><td class="px-2.5 py-2.5 align-top bg-surface border-b border-divider group-last/tr:border-b-0 group-first/tr:first:rounded-tl-2 group-first/tr:last:rounded-tr-2 group-last/tr:first:rounded-bl-2 group-last/tr:last:rounded-br-2">10</td></tr><tr class="group/tr"><th class="px-2.5 py-2.5 align-middle bg-surface-raised bg-linear-to-r from-default/(--opacity-tint-1) to-default/(--opacity-tint-1) text-foreground font-medium border-0 text-start"><strong>Total</strong></th><td class="px-2.5 py-2.5 align-top bg-surface border-b border-divider group-last/tr:border-b-0 group-first/tr:first:rounded-tl-2 group-first/tr:last:rounded-tr-2 group-last/tr:first:rounded-bl-2 group-last/tr:last:rounded-br-2">50</td></tr></tbody></table>

## Photographing your spin

Those examples were photographed on a turntable. The camera was placed on a tripod for the first row, then the photographs were captured every 30 or 36 degrees as the turntable rotated.

Then the camera was moved upwards (in an arc) to a new position, for another set of photos. This process was repeated until all rows had been captured.

## Uploading your 3D spin to Sirv

Follow this guide to embed a 3D spin into the HTML of your website.

### 1\. Rename your images

Sirv will create your 3D spin by detecting a sequence in your image file names e.g. `name-rownumber-columnnumber.jpg`

Below is the file name of the 1st image in the 2nd row of the spinning bag above: `Bag-02-01.jpg`

The screenshot below shows how the 50 images of the bag could be named:

![3D spin example - bag 360-degree spin from 50 images](https://sirv.sirv.com/website/screenshots/360-rows-and-cols.png?profile=screenshots-grey-border)

Always put your row digits before your column digits to ensure Sirv generates your spin correctly.

### 2\. Upload your images

Once you’ve named your files, [login to your Sirv account](https://app.sirv.com/login) (or [create an account](https://app.sirv.com/signup "Create a new Sirv account")). Upload your images via [your Sirv account](https://app.sirv.com/assets/library) or upload them via [FTP or S3](/help/file-upload/upload-images/ "Uploading your images").

### 3\. View your spin

Your images will show in your Sirv account, along with a [.spin file automatically generated by Sirv](/help/spin/getting-started/how-spin-files-are-created/).

The file references all the images in your animated 3D spin, plus any custom settings you choose:

![A spin file and its images in a Sirv folder](https://docs.sirv.com/img/help/screenshots/app-2026-11/spin-folder-auto-spin.png)

### 4\. Change how your 3D spin behaves

Either embed your spin as it is, or add options to its embed code. This one starts on row 3, column 2:

```html
<div class="Sirv" data-src="https://sirv.sirv.com/website/demos/Bobble Bag/bag.spin" data-options="spin.row.start:3; spin.column.start:2"></div>
```

Speed, autospin, zoom and the other settings are in the [360 spin viewer options](/help/sirv-media-viewer/media-types/360-spin/). The [Sirv Media Viewer](/help/sirv-media-viewer/) wizard, linked from the spin’s Embed window, writes the code for you.

To change every spin at once, edit a [profile](/help/dynamic-imaging/profiles/): open Assets > Profiles, edit the profile and choose Spin options.

![Spin options in a Sirv profile](https://docs.sirv.com/img/help/screenshots/app-2026-11/profile-spin-options-menu.png)

A profile can also add a [watermark](/help/spin/customization/watermark-360-spin/) or a [background](/help/spin/customization/360-spin-background/) to your spins.

### 5\. Embed the spin in your website

Open the spin and click Embed. Copy the two lines of code into your web page: a div, and a script that loads the [Sirv spin viewer](/help/sirv-media-viewer/media-types/360-spin/).

![Embed window of a Sirv spin](https://docs.sirv.com/img/help/screenshots/app-2026-11/spin-embed-snippet.png)

## Resizing your spin

Sirv automatically generates images to fit perfectly inside the content area where you’ve pasted the spin.

Images are responsive, so all your visitors will receive scaled images suited to their screen and browser.

To change the size of a spin, change the size of its container (usually inside a div).

Alternatively, add a style attribute to the Sirv div and specify the width or height the you would like. The example below will create a spin of 360px max-width:

```html
<div class="Sirv" data-src="https://sirv.sirv.com/website/demos/Bobble Bag/bag.spin" style="max-width:360px"></div>
```

## Embed 3D spin in an iframe

If your CMS or website control panel restricts how you can embed spins, consider using an iframe. In the spin’s Embed window, click “Prefer iframe?” to see the iframe code.

Iframes should only be used as a last resort. They don’t support fullscreen and the spin is released while dragging if dragged beyond the edge of the spin (making it less controllable).

![Prefer iframe? link in the Embed window](https://docs.sirv.com/img/help/screenshots/app-2026-11/spin-embed-prefer-iframe.png)

Copy the iframe code and paste it into your page where the spin should appear.
