added ratio property
auto regenerate embed code on size update, by default