pulled unused removeImageLink function