Results 1 to 6 of 6

Thread: would like to get some SimpleViewer help.... expertise appreciated

  1. #1
    Member
    Join Date
    May 2002
    Location
    New York*New Jersey*Boston
    Posts
    1,072

    Default would like to get some SimpleViewer help.... expertise appreciated

    i am trying to use this program in my webpage.
    i have read some old posts in here but i am trying to tackle a rather wierd problem (which after a few hours of coding and debugging, i gave up and went to sleep)

    let me try to explain this clearly...

    BACKGROUND
    my goal is to have multiple albums that utilizes the script.
    i dont want to use the adminviewer because i am trying to build the flash script into my webpage.
    as a simple test,
    from my main content page, i have 2 links to 2 different albums.

    PROBLEM: album A works perfect, album B doesnt load the photos

    STRUCTURE:
    my root directory contains the index.htm
    in the root dir, it contains 2 sub folders, Album A and Album B
    in BOTH these subfolder, it contains all the same files needed to run the page and the script EXCEPT for the actual images in the "image" and "thumbs" (obviously duh) and the imageData file

    the thing is, when i run my webpage on the local, it WORKS
    when i run it on the server, it doest !!!

    when i open the index.htm on the server and click on the link to Album B, it will show the right imageData information (eg title)
    so i know that the imageData file is all ok.
    but it is not linking showing the photos on the page.
    there is some code somewhere that is not right..

    could you help me?
    Regards, Mark Pang
    www.markpangphotography.com

  2. #2

    Default Re: would like to get some SimpleViewer help.... expertise appreciated

    Quote Originally Posted by haagen_dazs
    i am trying to use this program in my webpage.
    i have read some old posts in here but i am trying to tackle a rather wierd problem (which after a few hours of coding and debugging, i gave up and went to sleep)

    let me try to explain this clearly...

    BACKGROUND
    my goal is to have multiple albums that utilizes the script.
    i dont want to use the adminviewer because i am trying to build the flash script into my webpage.
    as a simple test,
    from my main content page, i have 2 links to 2 different albums.

    PROBLEM: album A works perfect, album B doesnt load the photos

    STRUCTURE:
    my root directory contains the index.htm
    in the root dir, it contains 2 sub folders, Album A and Album B
    in BOTH these subfolder, it contains all the same files needed to run the page and the script EXCEPT for the actual images in the "image" and "thumbs" (obviously duh) and the imageData file

    the thing is, when i run my webpage on the local, it WORKS
    when i run it on the server, it doest !!!

    when i open the index.htm on the server and click on the link to Album B, it will show the right imageData information (eg title)
    so i know that the imageData file is all ok.
    but it is not linking showing the photos on the page.
    there is some code somewhere that is not right..

    could you help me?
    Check the directory paths? Might be better if you can provide an URL.

  3. #3
    Senior Member
    Join Date
    Jul 2003
    Location
    Tampines, Singapore.
    Posts
    1,899

    Default Re: would like to get some SimpleViewer help.... expertise appreciated

    what I am doing, is to make a folder containing ALL the images, and another containing ALL the thumbnails, yet another folder containing ALL the XML and yet another containing ALL the index file. each of the index and XML file is named differently so that they can be dumped in the same folder. then the webpage points to the correct index file. all the directory paths are thus the same, making it possible

    1. to edit based on a template
    2. to cross index images (i.e. one image appearing in multiple albums)

    is this what you want?
    Last edited by hwchoy; 1st April 2006 at 02:26 AM.

  4. #4
    Member
    Join Date
    May 2002
    Location
    New York*New Jersey*Boston
    Posts
    1,072

    Default Re: would like to get some SimpleViewer help.... expertise appreciated

    Quote Originally Posted by hwchoy
    yet another folder containing ALL the XML and yet another containing ALL the index file. each of the index and XML file is named differently so
    i saw you posted about simpleviewer in the older threads.

    this is an option i thought of
    BUT
    how to you have a folder containing all the XML?
    if i change the name of the imageData.xml file, it might not be read properly by the .swf file...
    if you can explain how this is done, i will perhaps go this route..
    but i am wondering what is wrong with my setup.

    my setup works PERFECT local but is screwed on remote.
    damn
    Regards, Mark Pang
    www.markpangphotography.com

  5. #5
    Member
    Join Date
    May 2002
    Location
    New York*New Jersey*Boston
    Posts
    1,072

    Default Re: would like to get some SimpleViewer help.... expertise appreciated

    is there a way to use

    imagePath="" thumbPath=""

    to somehow direct the imageData.xml to correctly search for the photos in the appropriate sub directory?

    no instructions on the website on how to configure this code
    Regards, Mark Pang
    www.markpangphotography.com

  6. #6
    Senior Member
    Join Date
    Jul 2003
    Location
    Tampines, Singapore.
    Posts
    1,899

    Default Re: would like to get some SimpleViewer help.... expertise appreciated

    yes. I will get you an example. oh just remember it is a relative path and must have the end "/"

    here's an example

    imagePath="./CanonGraphers__Khatib_Bongsu_Feb_06/images/" thumbPath="./CanonGraphers__Khatib_Bongsu_Feb_06/thumbs/"
    Last edited by hwchoy; 1st April 2006 at 02:51 AM.

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
  •