Added initial code for photo galleries.