embed image properly