garbados / eggchair

An open-source image host
21 stars 0 forks source link

Add image metadata support #3

Open skeggse opened 11 years ago

skeggse commented 11 years ago

Awesome project! Could be even cooler if you add support for info about the picture (bonus points for pulling metadata from the image itself)!

As part of that you could include user-submitted comments, though that might get ugly without authorizing the user through OpenID or the like.

garbados commented 11 years ago

What kind of metadata?

skeggse commented 11 years ago

It looks like this is just a collection of images with some kind of date or something to sort on, right? Maybe there are internal storage mechanisms, but I was thinking

name memo dateTaken (or something)

It's pretty minimal, but gives a little space for description.

garbados commented 11 years ago

Yep, it currently just uploads files with a timestamp to sort by. Future versions of eggchair will use quilter, which also generates a file hash for quicker comparisons.

How would you associate the name and memo with each file?

garbados commented 10 years ago

I'd love to add an interface for adding stuff like tags and descriptions. Quilter should only compare creation date and attachment sizes, so that it doesn't needlessly update files back and forth whenever someone adds a tag.

Comments, ah... I'm sure I can make it happen, but each comment would be its own document, rather than nested in the image's JSON.