Results 1 to 3 of 3

Thread: External file for Thumbnail Viewer II?

  1. #1
    Join Date
    May 2005
    Location
    UK
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default External file for Thumbnail Viewer II?

    Hi

    I was wondering if you could advise me on this:

    I'm using Script: Thumbnail 2 image viewer on a family photo site. To help reduce the overall page size I was wondering if it's feasable to stick the workings of the script in an external .js file which would have all (about 100) the photos listed in it and then the individual pages just refer to the particular photo number.

    It works on a single page as I've just tried it - but I don't know if having such a large number of images listed in the script in the external file will cause any problems or make the individual pages download slower - does that make any sense?

    Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    If preloading is set to yes, it may slow down the loading of individual pages until all the images are preloaded, this may only be apparent on slow connections like dial-up or when there is high traffic or other bandwidth restrictions. It may be apparent on all connections. Even if it does not slow things down, it will add to the site's bandwidth requirements. That would only be a problem if your host sets limits on bandwidth. Otherwise, it should not be a problem.
    - John
    ________________________

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

  3. #3
    Join Date
    May 2005
    Location
    UK
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks John

Bookmarks

Posting Permissions

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