Generalized light.image

Added optional parameter to set light maximum