Page 1 of 1

Thumbnailing pictures

Posted: Thu Dec 08, 2005 11:31 am
by Luke
Anybody know a good program that thumbnails images and produces like a javascript popup or something that makes them large when you click on them, but can be easily integrated into my website?

Posted: Thu Dec 08, 2005 11:32 am
by shiznatix
why not just use one of onion2k's thumbnail scripts then do a onclick window.open the other picture in a window that is the same height and width of the larger image?

Posted: Thu Dec 08, 2005 12:00 pm
by Luke
shiznatix wrote:why not just use one of onion2k's thumbnail scripts then do a onclick window.open the other picture in a window that is the same height and width of the larger image?
well I don't know anything about onion2k's thumbnail scripts... where can I find these magick scriptolas?

Posted: Thu Dec 08, 2005 12:06 pm
by John Cartwright
The Code Snipplet Forum is a good place to look :?

viewtopic.php?t=39883&highlight=thumbnail

Posted: Thu Dec 08, 2005 12:08 pm
by onion2k
The thumbnail base class that you'll need: viewtopic.php?t=39883
Also included in that post is an extension of the class to produce rounded thumbnails.

Extension of the base class to make drop shadowed thumbnails: viewtopic.php?t=39929
Extension of the base class to make black and white thumbnails: viewtopic.php?t=39886

Posted: Thu Dec 08, 2005 12:37 pm
by Luke
Do I need an extension of some sort to use that class?

Posted: Thu Dec 08, 2005 12:42 pm
by onion2k
The Ninja Space Goat wrote:Do I need an extension of some sort to use that class?
You'll need GD2 installed .. but you'll need that to do anything with graphics.

Posted: Thu Dec 08, 2005 6:20 pm
by Luke
that's something that needs to be installed on my server?]

Edit: scratch that - I found the answer on php.net

I do not adminster my own server... I sent an email to the admin asking him to install the lib, but my guess is that he will not. Does anybody know of a good thumbnailing script that does not use the GD library?

Yes

Posted: Thu Dec 08, 2005 6:24 pm
by neophyte
Yes GD is installed on your server. Make a php page with just phpinfo(); on it and upload it to your server. Open it up in your browser and see if GD is configured.

Posted: Fri Dec 09, 2005 12:54 pm
by Luke
OK GD is installed, but I still don't understand your php onion... I've never worked with GD. I have no idea how this is supposed to work.

Posted: Fri Dec 09, 2005 3:01 pm
by onion2k
The Ninja Space Goat wrote:OK GD is installed, but I still don't understand your php onion... I've never worked with GD. I have no idea how this is supposed to work.
I'm actually in the middle of writing a tutorial on 'Uploading and Resizing an Image' for phpgd.com .. I'll post in it the graphics folder when I'm done. Sneak preview sort of thing.

Posted: Fri Dec 09, 2005 3:15 pm
by John Cartwright
onion2k wrote:
The Ninja Space Goat wrote:OK GD is installed, but I still don't understand your php onion... I've never worked with GD. I have no idea how this is supposed to work.
I'm actually in the middle of writing a tutorial on 'Uploading and Resizing an Image' for phpgd.com .. I'll post in it the graphics folder when I'm done. Sneak preview sort of thing.
And I'll move it to the tutorials forum :wink:

Posted: Tue Dec 13, 2005 4:26 am
by webdesigners123
Nice script.
Do you know a method to capture a website on the fly ?
Adding this functionally will be a hit for this script.