modify light image to support several modes