title: Javascript image gallery - too many images and page loads very slow
body: <p>I have an image gallery. It is powered by highslide and page contains the resized images previews (for example  100x100px, when you click on preview, fullsized picture is displayed, but that is not important...).</p>
  
  <p>Images are uploaded to the gallery by users, and problem is, that on some point, about approximately 100 images on one page (=100 images which need to be resized by webbrowser for preview), page is loading VERY slow and freezes all the time.</p>
  
  <p>Q1: Is there any javascript which will display for example FIRST 40 pictures (first 40 lines of a file) and other pictures will not be loaded? When I click 'next' it will display pictures 40-80, then 80-120... I dont even know if something like this is possible.</p>
  
  <p>Q2: Or a javascript, which will load only pictures which are currently on the view? I found that one, it works fine, but when I scroll down to the end of my gallery, all the images have gone through my viewpoint, so they are loaded all... and it freezes aggain.</p>
  
  <p>Q3: Or a script that will automaticly devide my page to tabs(each tab with defined file length)?</p>
  
  <p>Thanks for every solution!</p>
  
  <p>/EDIT
  To:  Frits van Campen
  I have tried Lazy Load - <a href="http://www.appelsiini.net/projects/lazyload" rel="nofollow">http://www.appelsiini.net/projects/lazyload</a> , but deviding into tabs would be more usefull.</p>
  
  <p>//EDIT
  TO: Mörre
  I know that it would be much better if images was already resized and stored on my server, but either the original-sized images arent stored on my server, I have only src address of them.</p>