I have been working on a small social photo sharing site for my family photos (as we want to have complete control over the images, local hosting is best). I have developed it working perfectly and want to add functionality.
right now all my images are pulled from MySQL: ROW -> object objects into array -> PHP -> JS array. the array looks like
var array = [{'key' = '1', 'title' = 'title', 'source' = 'path/to/image', 'album' = 'album}, ..]
inside the album tag it could have different album names and want to re-sort the array bases on the albums, I have not thought of a way that works.