restrict the number of photos on a vendor page
Image compression implementation