jump to navigation

Weekend Projects - Lightweight Photo Service May 5, 2008

Posted by Ryan in : Tech, Web Sites, mashups, interface, open source, Web Services, Programming , trackback

This is a project I’ve been thinking about for a while, and I’d love to do a hack weekend to get this working sometime.

One thing that’s been a problem with us at Petentials (and many other sites running Drupal) is Photo uploading, sharing, embedding, etc. Aaron Winborn created a great tool called Embedded Media Field that abstracts the hosting of photos, videos and audio files for a Drupal installation - what I’m thinking of doing is writing a custom interface for that module that allows a user to upload the files without leaving the page, and then talks to Drupal to tell it to make a new node for the photo, add it to a gallery, or the same for a batch of images - Aaron’s module does quite a bit of this already.

I was wondering if Menalto Gallery (G2) could help us out here, but that’s really meant to be used as its own system - I really just want to create a REST/CRUD interface we can throw on a subdomain to serve up images and thumbnails, while also generating new thumbnails as needed. G2 has lots of these features, but then we’d have to keep the user tables in synch and I’m not sure we need everything they have to offer.

This is not meant to be a flickr or a photobucket, but the replacement for hosting images in-house. It should be insanely transparent to the users - they should not need to register, have any plugins or enter any extra screens.

My thoughts are the following:

The application by itself won’t do anything - you’d need a CMS to integrate it with. My choice is Drupal, of course.

Certainly on the wish list for embedded media field is the ability to integrate this content transparently in the background (see Vox’s media features). Using something like PingVision’s Drupal Markup Engine and a WYSIWIG editor might get us most of the way there. It’s an API that lets you specify custom tags - mostly these can be used to add images, video or blocks inside a node, but there are dozens of uses that have not been invented yet, I’m sure. If the editor can have plugins written (Kupu is the editor of choice for Acquia’s Carbon). I don’t think it should insert raw HTML, but a custom tag so we can abstract the method of storage - just something like [image:13456] or [video:13456] or [audio:13456] or [gallery:13456] at least until HTML5 gives us a standard for implementing this.

One reason why the Embedded Media Field is so great is because if YouTube changes the player, or if they introduce the option to turn off the related videos at the end, or even if you come up with your own .FLV wrapper, like a deep-tagging service, all your calls to videos are made through this tag - it’s an API for HTML code.

If we get an editor that supports this sort of stuff and a module/plugin for major CMSes and platforms, those can all live in one place. Wordpress has support for TinyMCE or the plain-text editor, but it must support others, yes? Another editor that would be high on my list is the YUI Rich Text Editor.

I could probably go on all day, but I think I’ve gotten a decent explanation for this cluster of projects out there.

Comments»

no comments yet - be the first?


- Why ask? This confirms you are a human user!