You are viewing limited content. For full access, please sign in.

Question

Question

Inserting images in a checkbox

asked on November 6, 2019

Hello, 

I am working with our organization's art department on a sort of voting form. I would like to put an image into the checkbox selection. Is there a way to do this? Ideally, I would like the image to be a thumbnail and if clicked it would open the full res image in a new window. 

Thanks! 

Dava

0 0

Replies

replied on November 6, 2019

You can put an image in the check box selection using CSS or Java Script. It probably will not look like you would expect without a lot of work though.

I would suggest creating an HTML element to get the pictures and formatting that you would like. When I did it, I based it on the bootstrap album template (https://getbootstrap.com/docs/4.3/examples/album/). I wrapped it so that clicking the view button would bring up a modal (https://getbootstrap.com/docs/4.3/components/modal/). I then had it when they selected a vote button to put the value in a hidden field, which could be a drop down list or a single line field depending on the need.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.