EMBEDDING PAINTINGS

< BACK

You can embed any painting available in the Colors! Gallery onto your own page using <iframe>. Copy and paste the following code into your html document:


This will give you the following result:


embedded.php can be configured by adding parameters to the url:
  • i=[picture_id] - ID of the painting to be embedded. You can find this in the url of the painting you want to embed (required)
  • bkgcolor=[hex_color] - sets the background color for the iframe in standard html color format (default is bkgcolor=ffffff)
  • mouse=[0 or 1] - set 1 to enable mouse handling to allow panning of 3D paintings (default is mouse=0)

  • You can also configurate the iframe to control size and borderstyle. Read full description of iframe here.

    For example, an embedded painting with mouse panning support, a grey background color and a bigger size could look like:

    Please let us know at support@collectingsmiles.com if you have any questions. Enjoy!

    Collecting Smiles © 2012 - About - Privacy - Terms