Added support for take_value_from, and added resizing to upload_image