added option for image_size