I’ve been searching everywhere and can’t seem to find an answer to this:
I’m currently working with the Instagram API. I have that all set so users can login and see all their photos. But, I’m creating a type of photo printing service for instagram so I want it so that when the user clicks the photo it uploads that photo to my server. I know how to do a PHP upload with an html form, but this is a strange case in which an html form is of no use to me. I guess I basically need the image to be selected and also act as the submit button at the same time? I’m not really sure, any help would be appreciated!
I’m not familiar with Instagram API, but have the fallowing suggestion. As I understastand, by the Instagram API, the photos are displayed in your page – so you need some javascript to get there urls, and the image got to act as submit button ‘
<input type="image" src="...the image source here.." alt="Submit button" name="i1">‘ … . The PHP code would be something like that: