Changed create_img_args to be formal argument, rather than kwargs