What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » thumbnail code....

thumbnail code....
Author: Message:
TheMusicPirate
Full Member
***

Avatar

Posts: 412
Reputation: 8
39 / Male / –
Joined: Feb 2005
O.P. thumbnail code....
does anybody know a php picture thumbnail code?

one that i don't need to take the pictures and shrink them down to the size i need?
[Image: ipod.gif]

05-30-2005 03:55 PM
Profile PM Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: thumbnail code....
I hate to say it but theres loads of PHP thumbnailing codes, there just a google away

edit: first google result- http://phpthumb.sourceforge.net/

This post was edited on 05-30-2005 at 04:04 PM by Veggie.
05-30-2005 04:02 PM
Profile E-Mail PM Web Find Quote Report
user27089
Disabled Account


Posts: 6321
Joined: Nov 2003
Status: Away
RE: thumbnail code....
you can just do something like:

code:
<a href="main image"><img src="???" border="1" height="???" width="???" title="Image Thumbnail"></a>

You shouldn't really need PHP.
05-30-2005 04:03 PM
Profile PM Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: RE: thumbnail code....
quote:
Originally posted by traxor
you can just do something like:

code:
<a href="main image"><img src="???" border="1" height="???" width="???" title="Image Thumbnail"></a>

You shouldn't really need PHP.


If that suggests to use the main image as the thumbnail but resized using html, NEVER do that! the whole reason for thumbnails are so that images can be easily browsed. If the images are large then it will kill 56k users. It is best to use a php code and cache the images.

This post was edited on 05-30-2005 at 04:07 PM by Veggie.
05-30-2005 04:07 PM
Profile E-Mail PM Web Find Quote Report
jren207
Senior Member
****

Avatar
JR! - We <3 Fanta

Posts: 870
Reputation: 28
35 / Male / –
Joined: Sep 2003
RE: thumbnail code....
Using HTML to resize a picture is pointless and means you have to wait for the whole size of the picture to load, and you may not even view that picture on it's own anyway. Also doing that means that the picture is kinda distorted and doesn't give a good thumbnail anyway.
05-30-2005 04:28 PM
Profile E-Mail PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: thumbnail code....
The pic will be lower quality anyway, even if you use a thumbnail-producing script. Simply because there's less room to shove info into.
[Image: spartaafk.png]
05-30-2005 05:14 PM
Profile PM Web Find Quote Report
TheMusicPirate
Full Member
***

Avatar

Posts: 412
Reputation: 8
39 / Male / –
Joined: Feb 2005
O.P. RE: RE: thumbnail code....
quote:
Originally posted by Veggie
I hate to say it but theres loads of PHP thumbnailing codes, there just a google away

edit: first google result- http://phpthumb.sourceforge.net/


i have no idea how to setup the script and the GD library.
[Image: ipod.gif]

05-30-2005 05:22 PM
Profile PM Find Quote Report
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: thumbnail code....
if you dont know how to use the GD library you wont be able to have a PHP thumbnail script, i suggest you look at http://www.php.net/gd

Thats the documentation for GD.
05-30-2005 05:59 PM
Profile E-Mail PM Web Find Quote Report
jren207
Senior Member
****

Avatar
JR! - We <3 Fanta

Posts: 870
Reputation: 28
35 / Male / –
Joined: Sep 2003
RE: thumbnail code....
It depends if the server that the page/script is hosted on has GD configured/installed on it. If it's not your server (no access to it's config) then I don't think there's much you can do about it.

This post was edited on 05-30-2005 at 07:40 PM by jren207.
05-30-2005 07:40 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On