add api service; update image fieldset directive