php image created and everything is now passed to global html