Skip to main content

Webcam photo uploads for the movement

Project description

django-webcam-photoupload
=========================

This is a tool that allows people to take a photo from the browser, add a caption that will attach a logo of your choice, and submit it. When an admin approves the image, it will render on the photo campaign index page. Think of this as an out of the box 'wearethe99percent', without having to sign up for Tumblr and deal with their limits on photo submissions.

In the future, there may or may not be integration using the Actionkit CRM, as that is what we use at CEL, and this might allow people to instantly see their image upload without requiring approval.

Written mostly by Mike Vattuone at Citizen Engagement Laboratory, with support from Josh Levinger.

Installation
=========

Pretty dang easy:

* Add 'photo_upload' and 'ziplookup' to your INSTALLED_APPS. Yes, we will merge these at some point.

* SyncDB (this will load fixtures from ziplookup, which might take a sec since it's a json file full of zipcodes)

* Add the app to your urls.py
urlpatterns = patterns('',
url(r'^photo/', include('photo_upload.urls'))
)

* In the admin, create a Photo Campaign, including an example photo and logo, and view the campaign index page or take a picture at yourdomain.com/photo/campaign_slug

* ...profit?

While I am imagining a system that will easily integrate with your base template and make it so that you don't have to do any front-end to get this to play nicely, this is probably idealistic. One thing we could try to do is create a TEMPLATE_PATH in which you would render your photo_upload views to, but this will be something for later on...


Get involved
=========

Have an idea for how to make this more useful? A handy abstraction? Please let me know!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-webcam-photoupload-0.3.3.tar.gz (655.4 kB view details)

Uploaded Source

File details

Details for the file django-webcam-photoupload-0.3.3.tar.gz.

File metadata

File hashes

Hashes for django-webcam-photoupload-0.3.3.tar.gz
Algorithm Hash digest
SHA256 75d8e84ca9be33752bb13738f1b3e0efcfdf6d1bf927d72f60de4e467db37ff0
MD5 3604f080c54b411c921c29f3efba0d7d
BLAKE2b-256 2de2eb0d1a6bdc39f715693079540e1eab59232d00ac5cf35dfc03db6bfabc0b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page