Rommeo Posted November 29, 2009 Share Posted November 29, 2009 I have images that I m using like <img src = "myimage.jpg"> I want to avoid my images to be downloaded. There was a way that I forget, you write the images like : <img src = "showimage.php?id=53-24"> but for this way, what's the code in showimage.php ? I tried this but it didnt work; <?php $myimage=$_GET['id'] echo "photofolder/$myimage".".jpg"."; ?> Can someone tell me what should I write in showimage.php file ? Link to comment https://forums.phpfreaks.com/topic/183335-why-does-not-this-work-images/ Share on other sites More sharing options...
abazoskib Posted November 29, 2009 Share Posted November 29, 2009 you need to supply the right type of header for the image you want to display. Link to comment https://forums.phpfreaks.com/topic/183335-why-does-not-this-work-images/#findComment-967695 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.