made gallery items posts with a 'kind' == photo. this should help keep things DRY