A simple photo site. Don't trust your photos to ad revenue.
Environment variables you need to set
ENV['AWS_SECRET']
ENV['AWS_KEY']
Bucket configuration:
# config/uploaders.yaml
development:
storage: fog
bucket: "photoboard-devel"
production:
storage: fog
bucket: "photoboard-prod"
test:
storage: file
- Deploy the app.
- The background worker watches a
/raw
folder in your bucket. - When new files are detected they are oriented, and thumbnails are made.
- Pictures show up on the site!
- Duplicate (by MD5) photos are ignored.
- Click the pencil on the right hand side to add a comment.
- Click the spot on the photo you'd write on if it were a polaroid to add a title.
- Comments and titles are auto saved.
- Embiggen with the little magnifying glass
- Checkbox in the upper right marks a photo for delete (it will turn red). Delete was not actually implemented, this is just a flag in the database.
- Infinite scroll done the right way.