add example to embed the image dynamically