added tag 'orderby' and made photo links order properly