Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Dynamic linked image source not showing on IIS/Windows


Witblitz

Recommended Posts

Posted

I'm developing a site on my windows box. However for the life of me I can't understand why any of the images I linked via dynamic php script doesn't show up (they are all broken images). They all seem to work fine on the Linux box online.

 

ie. <img src=makethumb.php?pic=images/demo.jpg>

 

Am I missing something obvious? All the proper extensions are loaded and I have them as closely resembled to the Linux box as possible. I hope someone can point out a possible IIS setting I might've missed.

 

The basic code looks like this (called from generateThumb function):

 

$pic = $_GET['pic'];
header("Content-type: image/jpeg");
generateThumb($pic, $thumbWidth, $isSquare, $isBorder);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...