Prev: Embedded 3D viewer Next: Embedded thumbnail
Embedded 3D gallery¶
This component presents a collection of 3D objects hosted on Sculpteo’s website in a user-friendly way. The objects may be filtered and ordered depending on application.
The 3D gallery may be integrated to any external web page using a <iframe> tag, like so:
<iframe type="text/html" width="600" height="480" src="//www.sculpteo.com/gallery/iframe/?click=view" frameborder="0"></iframe>
This code will embed a small gallery, which will appear like this in your page:
Several options that may be appended to the URL in the src attribute, to configure the appearance and behaviour of the gallery:
‘timestamp’ or ‘rate’
show only designs of this user
‘details’, ‘order’, ‘customize’, ‘view’, ‘none’ : action performed when the user clicks on the design
‘window’ (default), ‘frame’, ‘box’, ‘new-window’ : follow links either in the same page, in the same frame, by overlaying a box containing the content, or in a new window.
id of your custom theme (theme can be configured using the embed code button in your gallery/shop/account)
For example, the following code will show the gallery of user ‘sculpteo_designs’, sorted by date, with a custom theme, and clicking on a design will order it.
<iframe type="text/html" width="600" height="480" src="//www.sculpteo.com/gallery/iframe/?designer=sculpteo_designs&order_by=timestamp&click=order" frameborder="0" scrolling="no"></iframe>