
April 21st, 2002, 06:04 PM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
Not all requests are reponded correct
<i><b>Originally posted by : kobie (kobie@sol.dk)</b></i><br />Hi there .net freaks  <br /><br />Help! After surfing the internet for 5 days without any results - I decided to give it a try at you clever guys  ) <br /><br />My question is actually rather simple - I'm trying to show thumbnail images stored in a SQL-database. So far so good. <br /><br />Im html, my main page, looks like this: <br />..... <br /><img src="/thumbnails.aspx?id=1&w=10&h=10" border="0" /> <br /><img src="/thumbnails.aspx?id=2&w=10&h=10" border="0" /> <br />.... and so on with like 20 pictures. <br />(I load 20 images with the <img> source as an external file) <br /><br />my "thumbnails.aspx" returns a response.binarywrite containing the picture. blah blah... All this works fine! <br /><br />EXCEPT when im trying to show the page - at random - some of the images is not shown!! It gets a little red cross in the upperleft corner("Not Avaliable"). If I rightclick on it, and choose "Show picture" in IE, the picture is perfectly shown! <br />If I try pressing <F5> again - at random - some of the other pictures are shown and some are not. <br /><br />What am I doing wrong here? My 6'th sence tells me, that I requsest too many pages(images) at the same time. But come on! Its only 20 images. Try loading cnn.com - they got at least 100! <br /><br />Is it my IIS I need to tell it ok to reqest more than 10 pages? (Have not found the option yet) <br /><br />As a very last note: When I set a breakpoint in my "thumbnails.aspx"(file that is returning the binary image to <img> source on the main page) - at the very first break, at the breakpint, the images unable to load is ALLREADY SHOWN - with the little red cross!!! <br /><br /><br />All hints are welcome  <br />Thanks a lot, and happy coding. <br />Keep smiling <br /><br />Jacob Schramm
|