automate image embed