Image not inserted for all pages