Reduce quality of jpegs so they pass size limit