restrict the number of photos on a vendor page