I have a .php file that should include an image, as indicated by the link. The link "javascript:pop('../content/pictures/maxim/image.php?img=maxim90');" should bring up the file "http://jmaxim.b0x.com/maxim90.jpg" as an image, but instead it opens the file as though it were text. It displays what you would see if you opened the image in a text editor. What can I do to indicate to the server or whatever, that it is an image.
I have already tried surrounding the php include section with <img></img>, but to no avail.
The image.php file is as follows:...
<div align="center">
<?php include("http://jmaxim.b0x.com/$img.jpg");?>
<p><input type="button" value="Close Window"
onclick="window.close()">
</p></div>
Why isn't this working?
Please help!