Pasteimg and camera demo


Camera button - Will open camera on mobile/tablet devices and browse dialog on PC.

Paste button - Place focus and paste an image to add image from clipboard.

An image
<p>Camera button - Will open camera on mobile/tablet devices and browse dialog on PC.</p>
<p>Paste button - Place focus and paste an image to add image from clipboard.</p>

<img class="img-thumbnail" alt="An image" data-name="Image1" />
<span data-name="noimg1">
    <a class="btn btn-primary" data-func="camera" data-img="Image1" data-noimg="noimg1"></a>
    <a class="btn btn-primary" data-func="pasteimg" data-img="Image1" data-noimg="noimg1"></a>
</span>
No JS code used for this example

Output templates

Templates used for document and web page generation:

Friendly Name File Name Template