image_sizelimit bug fix #2.