Adds optional type of image resizing, defined in the configuration