prepare image tagging