Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2004
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP that helps image load faster... ?

    I put thumbnails in my Gallery, but they loaded so slow. I had tried a lot of Java scripts for Gallery Slideshow, but the problem is that Javascripts didn't work when there are over 10 images. I think I should try PHP this time. Can someone show me how to make thumbnails load faster with PHP ?

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I put thumbnails in my Gallery, but they loaded so slow.

    Are they true thumbnails, or are you just changing the width/height attribute values within the image tag, in which case, the file size would remain the same, regardless of the dimensions?

    Images have to download the the browser cache, and neither php or js are going to speed up this process. It will depend more on connection speed, server response, etc. than anything else.

    -james
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "

  • #3
    Regular Coder dniwebdesign's Avatar
    Join Date
    Dec 2003
    Location
    Carrot River, Saskatchewan
    Posts
    842
    Thanks
    15
    Thanked 9 Times in 9 Posts
    A way would be to create true thumbnails, such as they are different from the origional files. There is a free program that you can download that will do this for you, I use it and it works great. If you have lots of files you may want to use a PHP Gallery to make it easier to put them to your site. I have included a link to the Thumbnail Making Program.

    http://www.fookes.net/ftp/free/EzThmb_Setup.exe
    Dawson Irvine
    CEO - DNI Web Design
    http://www.dniwebdesign.com

  • #4
    New Coder
    Join Date
    Sep 2004
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I changed images to thumbnails and that really helps! Thanks!!!!!!


  •  

    Posting Permissions

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