pama
10-26-2007, 10:01 AM
Hello
I have a site where users have the option of uploading pictures when they make an entry. So I have a bunch of pictures in a sub-directory on the server.
Whenever someone looks at an entry, the script will generate a link that can be clicked, and that shows the picture in a separate pop-up window.
What I would like to do is to modify the script so that it will display a small thumbnail of the original picture on each entry.
Can you help me creating a php function that takes a picture from the server and displays a small thumbnail ?
Thanks in advance.
I have a site where users have the option of uploading pictures when they make an entry. So I have a bunch of pictures in a sub-directory on the server.
Whenever someone looks at an entry, the script will generate a link that can be clicked, and that shows the picture in a separate pop-up window.
What I would like to do is to modify the script so that it will display a small thumbnail of the original picture on each entry.
Can you help me creating a php function that takes a picture from the server and displays a small thumbnail ?
Thanks in advance.