how to PhpThumb ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
uncleroxk
Forum Newbie
Posts: 1
Joined: Thu Feb 14, 2008 9:40 pm

how to PhpThumb ?

Post by uncleroxk »

Does any of your use php thumb?... if yes how do you save the converted image permanently to your computer?...
Newbie here..
thanks..
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: how to PhpThumb ?

Post by Benjamin »

I've never heard of it, however if it doesn't already save them to disk you can just find the variable that contains the finished image and use file_put_contents() function to save it to disk.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: how to PhpThumb ?

Post by Christopher »

phpThumb() in its basic mode does not save an image on the server. It reads a file or database record, generates a thumbnail image, and sends it to the browser. It can cache thumbnails. The cached images are saved to disk.
(#10850)
User avatar
Skoalbasher
Forum Contributor
Posts: 147
Joined: Thu Feb 07, 2008 8:09 pm

Re: how to PhpThumb ?

Post by Skoalbasher »

This is something interesting i'd like to see. Shoot me a link if you find something else out.
Post Reply