Taking a picture and storing it with...

User 348342 Photo


Registered User
24 posts

Have an application to print out a photo on a badge - is there a way to create a webform to do this?
User 2088758 Photo


Senior Advisor
3,121 posts

Hey Ken,

Not entirely sure what you want from Webform Builder. Are you asking if you can get a webform to have an option to upload a picture.

If so then the answer is yes you can add an upload element to it. You will be limited by size.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 348342 Photo


Registered User
24 posts

Trigger the webcam. Take the picture and then send it along with information to a mySql database and then print out a badge. Guessing that this will be a custom HTML element with custom loaded javascript.
User 2088758 Photo


Senior Advisor
3,121 posts

Yea I would have to guess that too. Not sure I would love to hear how you did it if you found a solution.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 348342 Photo


Registered User
24 posts

Got it to work - requires addition of custom html and javascript!
User 187934 Photo


Senior Advisor
20,271 posts

Hi Ken,
Would you post what you did so others that may have the same need can implement you code.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 348342 Photo


Registered User
24 posts

Yes - I will build a simple demo script - give me a few days! I owe u guys this one!
User 187934 Photo


Senior Advisor
20,271 posts

I'm saving a photo to a directory, creating a thumbnail, and then saving the url of both to my database but I used a custom myformname.php to do mine.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 348342 Photo


Registered User
24 posts

I take the picture with the webcam, store it in a mysql database, then use it to print out a badge on a label printer (through the windows printer interface) - done by manually adding in an html element and javascript for the webcam

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.