def set_image_size_mode(s):
global image_size_mode<EOL>image_size_mode = s<EOL>
Set the quality of the images to be downloaded
    This set the global variable `image_size_mode`

    :param s: quality level, 1 is original size, 12 is smallest
    :type s: str