Adds image tags and the relation between tags and images