switch to agimg plugin directives