8e7738655f06c7c0014ca450b2870ff01b114cda
[Portfolio.git] / skins / portfolio_thumbnails_tail.py
1 ##parameters=start=0, size=10, container_type='portfolio'
2 options={}
3 if container_type == 'portfolio' :
4 options.update(context.getPhotosInfos(context,
5 pho_start=start,
6 batch_size=size))
7 elif container_type == 'lightbox' :
8 options.update(context.getLightboxPhotosInfos(context,
9 pho_start=start,
10 batch_size=size))
11 elif container_type == 'selection' :
12 options.update(context.getSelectionPhotosInfos(pho_start=start,
13 batch_size=size))
14 return context.portfolio_thumbnails_tail_template(**options)