Friday, April 23, 2010

Twitter Annotation Proposal - Image

This is a proposal for a twitter annotation that I hope to be blessed by both
the development community and twitter itself.

Image Namespace

Images
are something commonly shared throughout twitter.  Something that would be fantastically idealistic
would be embedding image data into twitter annotations.

Due to constraints, images should
be resized to a lower-quality “preview”.  Possibly VGA or so?  A link to a privately
hosted image should also be available.

Using the current preview information supplied by
the twitter development team, I imagine that it would go something like this:

[codesyntax
lang="javascript"]"image":
{
"preview":
"data here.. base64 etc.",
"preview_encode": "base64",
// Or whatever else floats your boat. "bin" or "binary" for raw data.

"full_src": "http://example.org/link/to/image.jpg"
}[/codesyntax]


Any
additional thoughts on other information that should be included?  Maybe a title and description,
or is that not needed?  Please, leave all of your thoughts and ideas in the
comments!