Transform image tag