#590 Added more options to mod_img module