Archive for the 'WhiteAlbum' Category

RSS photo album import Facebook application

I must be one of a dying breed of people who maintain their photo collection on their own servers because a quick search for tools to help synchronise a hosted album with Facebook yielded few results.

There are plenty of options if you use hosted services like flickr or picasa. I also found this app that is specifically designed for the Gallery album software which I could probably have bent to my needs but I wanted something that was not app specific so that was excuse enough to embark on my first FB app.

The Application [Link to Application on Facebook]
The application uses 2 RSS feeds to communicate the album and image data. I assumed that most albums would publish feeds to allow users to keep up to date with the latest album updates so this seemed like the a reasonably standard interface to use.

  1. The album feed
    The application consumes a feed that contains basic information about the albums in your photo collection. This is just to allow users to select which album they would like to import.
  2. The picture feed
    This feed points to the location of the images themselves. The application currently only looks at the enclosures. The descriptions etc could be used (if provided) to populate captions…

Currently the application uses the ‘guid’ associated with the album and passes this as a parameter (you can specify the paramter name in the settings) to the picture feed. This could obviously work differently but gets the job done for now.

The application then creates a Facebook album with the same name and cycles through the images and uploads them to the newly created album. The photos are uploaded in batches to avoid timing out the request. The batch size is configurable for the moment.  The uploader will also split images over multiple albums when the number of images exceeds a limt (also configurable). The current FB limit is 60 images per album. The labelling of split albums is also configurable to some extent.

No comments

WhiteAlbum v2.5

I finally found some time to bundle together the changes I have been making sporadically to the album and release them here. These are addtions I made while I was travelling to make it easier to manage the album while on the road and more recently, to integrate some RSS support.

Download here.

Change log:

  • added image resize functionality to the admin. This allows you to resize a directory of images according to the size and image quality settings that you choose.
  • added RSS feed for comments. The feed will list comments accross the whole album or for individual images
  • added RSS feed for images. This feed currently spits out a directory list, allowing users to subscribe to see whenever new folders are added

The following files are affected:
- config.php
- pictures.php
- popup.php
- index.php
- admin/index.php
- admin/imageresize.php (new)

No comments

WhiteAlbum Update

I thought I’d post a quick update as things have been quiet for a while now. To be honest, I do not have a lot of time to devote to the software at the moment so I don’t forsee a lot of changes occurring in the near future but I would like to tidy up a few things.

Known Issues

  • There is a datatype error that is limiting the number of directories that WhiteAlbum will index so if you have more than 2 or 3 hundred directories you may encounter a problem. I will fix this in the next version.

Future plans

  • slideshow
  • templating?
  • thumbnail + photo viewing on a single page
  • RSS feed for images and comments

I can think of plenty more but this at least gives me something to aim for ;)

No comments