def _AddPhotoUrls(obj_store, ph_dict):
 ph_dict['tn_get_url'] = photo_store.GeneratePhotoUrl(obj_store, ph_dict['photo_id'], '.t')
 ph_dict['med_get_url'] = photo_store.GeneratePhotoUrl(obj_store, ph_dict['photo_id'], '.m')
 ph_dict['full_get_url'] = photo_store.GeneratePhotoUrl(obj_store, ph_dict['photo_id'], '.f')
 ph_dict['orig_get_url'] = photo_store.GeneratePhotoUrl(obj_store, ph_dict['photo_id'], '.o')

def _AddPhotoUrls ( obj_store , ph_dict ) : ph_dict [ 'tn_get_url' ] = photo_store . GeneratePhotoUrl ( obj_store , ph_dict [ 'photo_id' ] , '.t' ) ph_dict [ 'med_get_url' ] = photo_store . GeneratePhotoUrl ( obj_store , ph_dict [ 'photo_id' ] , '.m' ) ph_dict [ 'full_get_url' ] = photo_store . GeneratePhotoUrl ( obj_store , ph_dict [ 'photo_id' ] , '.f' ) ph_dict [ 'orig_get_url' ] = photo_store . GeneratePhotoUrl ( obj_store , ph_dict [ 'photo_id' ] , '.o' )
adds photo urls to the photo dict for each photo size: original .