Results 1 to 3 of 3

Thread: how I can put a different image folder link?

  1. #1
    Join Date
    Aug 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation how I can put a different image folder link?

    Hi Folks
    In below gallery
    http://www.dynamicdrive.com/dynamici...photoalbum.htm

    Please tell me, how I can put a different image folder link, for thumb nail images.
    Thanks

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Put the "getalbumpics.php" file in the thumbs folder and create another folder containing larger versions of the images with the same file names.

    Then on your calling page change this;
    Code:
     onphotoclick:function(thumbref, thumbindex, thumbfilename){
      thumbnailviewer.loadimage(thumbfilename, "fit2screen")
     }
    to this;
    Code:
      onphotoclick:function(thumbref, thumbindex, thumbfilename){
      thumbnailviewer.loadimage("http://www.mysite.com/larger_images/" + thumbfilename, "fit2screen")
     }
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Aug 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks Dear.
    Thanks for your support.

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
  •