photo album question
Posted: Mon Nov 07, 2005 4:12 am
i'm currently building a php photo album, and i would like some input from you guys.
first of, let me explai how my script works;
wenn you click on an album, a function will get al the album photo's (path name thumbnail location etc) from the database. then it puts it in an array and loops trough it to get a thumbnail view of al the pictures. wenn you click on a thumbnail, you'll get a largere version of it.
then you've got a next and prev butten(i'm trying to use the Next(), Current(), and Prev() in php).
it works, but i don't like the way i do it. so my question: how would a more expirienced php programmer do this(thumbnail view's and next previous buttons and such)??
first of, let me explai how my script works;
wenn you click on an album, a function will get al the album photo's (path name thumbnail location etc) from the database. then it puts it in an array and loops trough it to get a thumbnail view of al the pictures. wenn you click on a thumbnail, you'll get a largere version of it.
then you've got a next and prev butten(i'm trying to use the Next(), Current(), and Prev() in php).
it works, but i don't like the way i do it. so my question: how would a more expirienced php programmer do this(thumbnail view's and next previous buttons and such)??