Issue 486: loading images via php
Status:  New
Owner: ----
Reported by vhese...@gmail.com, Jun 6, 2010
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.


May 11, 2011
#1 tdiv...@gmail.com
Has there been a solution for this yet?  I am also looking to add this functionality to my site.  thanks!