Images as choices for radio buttons or checkbox fields?

Hello!

I’m wondering if you can make images as choices for radio buttons or checkbox fields like in the Gravityforms add-on below?