Show a stereo photo on your own website with one line of code. Visitors can drag to pan and scroll or pinch to zoom, and the two eyes re-align automatically when they pause. They can switch between parallel and cross-eyed viewing, or go full screen.
One photo
Paste this where the viewer should appear, with your photo's path after the ?:
<script src="https://www.stereophoto.co.uk/viewer/stereo.js?photos/garden.mpo"></script>
Notes
- The photo can be an MPO file from a 3D camera, or a side-by-side JPEG or WebP image, including scans of traditional stereo cards (the card border is trimmed off).
- The path is relative to your page, and the photo must be on the same website as the page.
- Want a whole gallery? Create one on Stereophoto.co.uk and share the link.
- If the automatic border trimming doesn't suit a side-by-side image, give the border yourself: add
&border=left,top,right,bottomwith the number of pixels to trim off each edge, e.g.&border=40,30,40,30. What's left is split down the middle. - The viewer starts in parallel viewing. Add
&view=crossto the end to start in cross-eyed viewing instead. - Everything runs in the visitor's browser; nothing is sent to Stereophoto.co.uk except the request for the script itself.