PHP Scripts
Create a thumbnail from a larger image
This
assumes your Internet provider has not only PHP enabled but al least the GD libraries
compiled within it.
Two files are involved, the thumbnail script, and the
html page that uses the generated thumb.
The
final Image is called as <img src= in normal html, using the string created
by thumbnail.php?im=image.jpg,
as shown in anypage.htm at the bottom.
thumbnail.php <?php anypage.htm: <html>
|
Demo set for 65 pixels width