Views plugin for mobile image gallery

Events happening in the community are now at Drupal community events on www.drupal.org.
stevector's picture

I recently worked on a photography site that needed both desktop galleries and mobile galleries.

For the mobile image gallery, I wrote a views row style plugin to format a thumbnail image, a main image and a caption area. Though for this site, the caption area is not used much yet.

On the front end, things are fairly simple. The vast majority of the markup is there at page load. Javascript is used to add and remove CSS classes which then show and hide various elements. Having the full-size images present at page loads allows for a decent degradation when JS isn't available.

I'm curious if anyone would want to see this back in contrib. I know that I plan on using it on future sites. Before I submit it, I'd like to chat with some else who knows a thing or two about views plugins to go over some of the architecture.

Mobile Gallery screenshot

Comments

Looks neat. I would be

abu3antar's picture

Looks neat. I would be interested.
A nice addition would be to have the images slide by the touch on the phone, kinda like the Google images.

CVS account applied for

stevector's picture

I've applied for a CVS account to get this module into contrib.
http://drupal.org/node/996588

I agree that touch response would be a good addition. I'll keep an eye on this project: http://drupal.org/project/jquery_mobile

Mobile

Group organizers

Group categories

Mobile

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week