I found this from a thread from about a year a go:
Code: Select all
<?php
$filename = "../natura_photos_large/".$_GET[trans]."-".$_GET[size].".jpg";
header("Content-Type: <span class="posthilit">image</span>/jpeg");
echo file_get_contents($filename);
?>Also, the thread did not talk about what kind of server side configuration needs to be done.
Thanks,
Shawn