Connecting Tech Pros Worldwide Forums | Help | Site Map

create and save thumbs to hdd ?

Eclectic
Guest
 
Posts: n/a
#1: Jul 17 '05
Hi there ...

I have trawled these groups and gone through the manual, I have cut
and paste, and tried to alter many examples, but I cant for the life
of me to get this to work ... can someone help?

I have a folder of random sized jpg images. If thumb images do not
exist, I need php to create and save them on the fly (as jpg's).

I have listed the images, and can check if they exist. I now need to
create thumbs of these with the same file name, but with 'thumb_'
tacked on the front.

I run my own server, so installing additions to PHP isn't a problem
....

Cheers in advance,

Eclectic.

Daniel Tryba
Guest
 
Posts: n/a
#2: Jul 17 '05

re: create and save thumbs to hdd ?


Eclectic <eclectic_01@hotmail.com> wrote:[color=blue]
> I have a folder of random sized jpg images. If thumb images do not
> exist, I need php to create and save them on the fly (as jpg's).
>
> I have listed the images, and can check if they exist. I now need to
> create thumbs of these with the same file name, but with 'thumb_'
> tacked on the front.[/color]

That is failry easy, and many people have made such thingies I presume,
my version is here: http://tmp.tryba.nl/resize/ (as is)

Just link to thumb_foo.jpg and it will create the thumb (if it doesn't
exist) of foo.jpg.
[color=blue]
> I run my own server, so installing additions to PHP isn't a problem
> ...[/color]

You'll need GD.

Closed Thread