add tools for changing size of segment and url of image