add quality and format parsing to basicImage
allow jquery to change attribute
translate ConfigMissingVariableException