Wall art
Hang a print or painting on the shopper's wall at its real size, with a frame and matting.
Wall art hangs on one wall of the room. The shopper drags it along the wall and can tilt and turn it.
Data
Wall art is drawn from your product image at the size you give. It needs no object in your Vizbl catalogue.
| Option | Value |
|---|---|
type | wallart |
src | The URL of the artwork's image |
width | The artwork's physical width, in dimensionUnit |
height | The artwork's physical height, in dimensionUnit |
dimensionUnit | m (default), cm or in |
name | The product's name: the dialog's accessible title and the name on the product card |
src, width and height are required. Without a width or height the artwork is drawn at zero size and the shopper sees an empty wall.
Give the size of the artwork itself, without a frame: Room Viewer adds the frame and matting around it.
<button
type="button"
data-vizbl-room-viewer-dialog
data-vizbl-room-viewer-api-key="pk_live_YOUR_PUBLISHABLE_KEY"
data-vizbl-room-viewer-type="wallart"
data-vizbl-room-viewer-name="Harbour at Dawn"
data-vizbl-room-viewer-src="https://your-store.example/images/harbour-at-dawn.jpg"
data-vizbl-room-viewer-width="60"
data-vizbl-room-viewer-height="90"
data-vizbl-room-viewer-dimension-unit="cm"
>
View in your room
</button>The Overview shows the same artwork in JavaScript and React.
The image
- Room Viewer loads the image across origins, so serve it over HTTPS with an
Access-Control-Allow-Originheader that allows your site, as most CDNs and store platforms do. - Keep the image's proportions those of
widthandheight: the image fills that size.
Frames and matting
From the product card in the room, the shopper chooses:
- Frame: one of Vizbl's frames, in several colours. The artwork opens in the first one.
- Matting: none, or a 5 cm mat between the artwork and the frame, shown in the display unit.
There is no option for either: the shopper makes both choices.
AR
On an iPhone, iPad or Android tablet the shopper can hang the artwork on their own wall through web AR. On a computer, Room Viewer shows a QR code that continues on the phone.