Results 1 to 3 of 3

Thread: Limit to number of images?

  1. #1
    Join Date
    Mar 2010
    Thanked 0 Times in 0 Posts

    Default Limit to number of images?

    1) Script Title: Don't know what to put here?

    2) Script URL (on DD): Same problem, don't know what to put here?

    3) Describe problem: I'm not a programmer and have no idea what to enter for a script? Or how to modify anything in the DD script. I only know how to add more images to the list (using dreamweaver) to have it display more images. My problem is that I am now up to 258 images in the DD code. If I add anymore images to the list the DD stops working. If I reduce the total images back to 258 it works fine! Nothing else has been done to this page, only the addition of the images. I'm wondering if this script can only handle 258 images and no more? Has a limit been set on the max number of images it can display? If so, can the number be changed to allow more images? If it can what line of the code controls it and what do I need to change it to? Any help would be appreciated. A copy of the disclaimer is below so you know which DD I'm using.

    mage Thumbnail Viewer II script- Dynamic Drive DHTML code library (
    * Visit for hundreds of DHTML scripts
    * This notice must stay intact for legal use


  2. #2
    Join Date
    Apr 2008
    Thanked 516 Times in 502 Posts
    Blog Entries


    This is what you need for script title & url:

    1) Script Title: Image Thumbnail Viewer II

    2) Script URL:


    I don't think there is a set limit of how many images you can add. I, personally, would start to consider breaking the images into groups (even into several pages) once I got up past 50.

    Can you post a link to your code (on your webpage) so we can look it over?

  3. #3
    Join Date
    Mar 2005
    Thanked 3,446 Times in 3,407 Posts
    Blog Entries


    traq is correct. Just to add my perspective on this, there are at least two important things to consider as regards the number of images:

    1. Byte load for the page - You don't want to have so many images that your page is slow to load and/or respond. This includes not only the aggregate byte load of the page (including images), but also the byte load of each individual image. Ideally all images for the web should be optimized for the lowest possible byte size that still exhibits acceptable resolution.

    2. Errors - The more images you include, the more likely you will make a typo or include a corrupt image that may break the script. But, if everything is done properly, there is no actual limit to the number of images. One should however consider the ramifications of the concepts mentioned in #1, possibly others.

    And, as traq mentioned, if you want more help:

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts