What steps will reproduce the problem?
1. Create file image.php with the following code:
<?php
header('Content-Type: image/jpeg');
$image =
imagecreatefromjpeg("http://nyromodal.nyrodev.com/img/img2.jpg");
imagejpeg($image);
?>
2. Then add <a href="image.php" class="nyroModal"> Image </a> to the html
file.
3. Click and all I get is the garbled image text.
What is the expected output? What do you see instead?
I would like to see an image, instead I see alien language.
What version of the product are you using? On what operating system?
1.6.2 - Windows 7
Please provide any additional information below.