---
source: https://www.jointjs.com/blog/demo-wednesday-upload-image-to-stencil
generated: 2026-04-11
format: markdown
---

We've published a new demo: [Upload image to stencil](https://www.jointjs.com/demos/upload-image-to-stencil)

Do you want users to be able to upload an image directly into the stencil? Drag and drop a stencil element into a diagram and be able to view the original image in the LightBox? See how to do it with JointJS+.

See the Pen [JointJS+: Upload Image to Stencil](https://codepen.io/jointjs/pen/gOKMvyO) by JointJS ([@jointjs](https://codepen.io/jointjs))
on [CodePen](https://codepen.io).

For more examples of JointJS and JointJS+, see our [CodePen profile](https://codepen.io/jointjs) and our [official documentation](https://resources.jointjs.com/?_ga=2.157485114.162715808.1653039446-2112624975.1653039446).

To see all the awesome demos we've created so far, check out our [Github Discussions](https://github.com/clientIO/joint/discussions?discussions_q=label%3A%22Demo+Wednesday%22).

Every Wednesday we share diagramming tips, interesting features and news in JointJS. Learn with us, get content delivered straight to your inbox and become a real diagramming pro: