When viewing files online, it is often necessary (or at least convenient) to be able to create a thumbnail image on the fly. You may want to create previews of photos you are linking to, or perhaps resize photos for your website to a more user friendly size without having to bother with a graphics program.
In this tutorial we will explore how to do this using imagecopyresized () and using imagecopyresampled. We will also cover calling the image from the PHP file, as well as saving the image to your server.
Before you begin, you should have a general knowledge of PHP and know a little about the GD Library. Also be sure you are actually running the GD Library on your version of PHP.
read more...
Thursday, March 6, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment