russbiggs / spot-the-box

Web application to crowd source the status of USPS Collection Boxes
MIT License
12 stars 3 forks source link

add photo functionality #2

Open russbiggs opened 4 years ago

russbiggs commented 4 years ago

Add the ability to take a photo of an existing/missing collection box and upload it

myself248 commented 4 years ago

bonus points for grabbing the GPS coords from EXIF if present :)

mikelmaron commented 4 years ago

one way "ask S3 to generate a pre-signed URL and then tell someone to upload the image to that url"

another way -- ask for link to social media post

ranatalus commented 4 years ago

Filestack Upload (formerly called Filepicker) ties into the user's OS file upload process and provides basic photo editing. Might be easier than reinventing the wheel here, although it's no longer free like it used to be. https://www.filestack.com/products/file-upload/

An old version is available at this github repo: https://github.com/filepicker/filepicker-js