Photo Album

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • eldridge.brian@gmail.com

    #1

    Photo Album

    I am very new to php, but eagerly picking it up. Thanks in advance for
    any assistance.

    I have a site I am working on that uses "PHP frames" - url is like
    .xyz is for every website, everywhere.® We offer the most flexible and affordable domain names to create choice for the next generation of internet users.


    inside home.php are several case statements that then tell the
    webserver which page to load. I have been trying to create small 7
    picture photo album in file photo.php. I want to have the thumbs appear
    at the top, then the main image in the middle at 640pix wide, then a
    text link at the bottom for previous and next.

    I have the basics working by hacking up somebody elses album, but I
    can't seem to get it to work that when you click on one of the
    thumbnails, it reloads the page and displays the image you clicked on.
    the original was a two page solution and I really need to to stay
    within the framework of the "frames" mentioned above.

    I think at this point it would be easier to start from scratch. So here
    is my structure if it helps. I'd like to see a one php file solution
    (or two if a config.php was needed) with the following features:
    thumbnail folder /thumbs - each one is prefixed with tn_ (maybe a
    variable for WxH)
    main picture folder /images - each one is 640px wide (another var?)
    uses whatever names where in the images directory, sorts them A-Z, as
    long as they end in .JPG
    created thumbnails if they didn't exist using GD.
    thumbnails shown in a table, so nice variable for how many columns of
    thumbnails would be sweet.

    Pointers, suggestions, solutions are all welcome. Thanks

  • noone

    #2
    Re: Photo Album

    eldridge.brian@ gmail.com wrote:
    [color=blue]
    > I am very new to php, but eagerly picking it up. Thanks in advance for
    > any assistance.[/color]
    [color=blue]
    > I have a site I am working on that uses "PHP frames" - url is like
    > http://www.xyz.com/home.php?page=photo[/color]
    [color=blue]
    > inside home.php are several case statements that then tell the
    > webserver which page to load. I have been trying to create small 7
    > picture photo album in file photo.php. I want to have the thumbs appear
    > at the top, then the main image in the middle at 640pix wide, then a
    > text link at the bottom for previous and next.[/color]
    [color=blue]
    > I have the basics working by hacking up somebody elses album, but I
    > can't seem to get it to work that when you click on one of the
    > thumbnails, it reloads the page and displays the image you clicked on.
    > the original was a two page solution and I really need to to stay
    > within the framework of the "frames" mentioned above.[/color]
    [color=blue]
    > I think at this point it would be easier to start from scratch. So here
    > is my structure if it helps. I'd like to see a one php file solution
    > (or two if a config.php was needed) with the following features:
    > thumbnail folder /thumbs - each one is prefixed with tn_ (maybe a
    > variable for WxH)
    > main picture folder /images - each one is 640px wide (another var?)
    > uses whatever names where in the images directory, sorts them A-Z, as
    > long as they end in .JPG
    > created thumbnails if they didn't exist using GD.
    > thumbnails shown in a table, so nice variable for how many columns of
    > thumbnails would be sweet.[/color]
    [color=blue]
    > Pointers, suggestions, solutions are all welcome. Thanks[/color]

    in you favorite search engine - look for imagebrowser.ph p

    Comment

    Working...