update image properties example to use visible property