How do I upload an image via php/js script

Get help using Construct 2

Post » Mon May 05, 2014 5:27 pm

I know construct 2 is mostly for game, but I was hoping I could use it for a small web app. Basically I need to be able to take a picture with the phone camera, then upload it to a web server. I know how to take the picture, and I know the code to get the image stored, my only problem is getting said image into a format to upload it to said server. Any suggestions?
B
3
Posts: 1
Reputation: 227

Post » Tue May 06, 2014 12:37 pm

Have a look at muschalskis reply in this thread viewtopic.php?t=81921&start=0
My game Petrolhead Tactics is now on Steam Greenlight. I could not have done this without C2 ? Please rate, if you like!

Steam client already open: petrolheadtactics.com/steam
Web: petrolheadtactics.com/greenlight
B
20
S
4
G
4
Posts: 132
Reputation: 4,130

Post » Wed May 07, 2014 1:02 pm

Even better!
[Behavior]
# 1.a Extract Sprite to base64 string - viewtopic.php?t=68494&start=0
[PLUGIN]
# 1.b Canvas/base64/screenshot to image - viewtopic.php?f=153&t=68493&p=581798&hilit=extract+image#p581798
My game Petrolhead Tactics is now on Steam Greenlight. I could not have done this without C2 ? Please rate, if you like!

Steam client already open: petrolheadtactics.com/steam
Web: petrolheadtactics.com/greenlight
B
20
S
4
G
4
Posts: 132
Reputation: 4,130


Return to How do I....?

Who is online

Users browsing this forum: fearfulelephants and 17 guests