# Image Widget- Automatically or a separate button to capture

**URL:** <https://community.tulip.co/t/image-widget-automatically-or-a-separate-button-to-capture/13400>\
**Category:** General\
**Created:** [December 19, 2024, 2:32am UTC](https://community.tulip.co/t/image-widget-automatically-or-a-separate-button-to-capture/13400 "2024-12-19T02:32:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.dsa](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@david.dsa](https://community.tulip.co/u/david.dsa)\
**Post date:** [December 19, 2024, 2:32am UTC](https://community.tulip.co/t/image-widget-automatically-or-a-separate-button-to-capture/13400/1 "2024-12-19T02:32:11Z")

</div>

I would like to design a form to automatically capture an image when the user clicks a button. The vision camera is the perfect fit but cannot be configured for a tablet device for which the app is designed. The camera widget would be a good fit but requires the user to click the capture button to save the image and then again click the form button.

I tried writing a custom widget in HTML/javascript. The camera powers up but no image is displayed on the screen.

Has anyone faced a similar scenario and had a solution.
