Chapter 16 Generating Graphics (PHP5)
Hello,
I would like to display pictures with displaying the actual picture with php code (see page 599 of book "Beginning PHP5").
I found out that it is pretty easy to do this with 1 picture and a copyright watermark, also thumbnails are easily created from a large image.
My question:
Now I have a database(mysql) that contains filenames+paths of all images, now I would like to display 10 thumbnails at a time on each page with using a pagination system.
I'm thinking about displaying the (PHPimages within IFRAMEs, that is not a problem, the problem is, how do I get an image path+filename (from the database) on the "showjpeg.php" file? so that i can use just 1 "showjpeg.php" file to show all images.
Or it maybe impossible..?
Can someone help me out?
Thanks
|