I have using the same code in create a new page. During the preview time, the image show perfectly, but image broken after published. I have attached the code and print screen for preview and publish mode. Is it problem occur because of the image included is php file? Please refer to the wordpress link due to here unable to attached link more than 2.Thanks for help.
My question post at Wordpress: https://wordpress.org/support/topic/image-appear-in-preview-but-broken-in-publish-wordpress?replies=3#post-6466511
<html>
<h3>This is where I want to display my graph</h3>
<img src="Example1.php" />
</html>
I need to upload a php file to generate an graph (image). Add media unable to insert php files. I tried to include the phpfile, it shown some error.