{{foreach $photos as $photo}}
{{include file="photo_top.tpl"}}
{{/foreach}}
<script>justifyPhotosAjax()</script>