Updated example to allow custom image