add target attr in image directive