UPOINT:: CGI Scripts:: @1 Thumbnailizer
.
Demo:

Perl version: @1 Thumbnailizer convert this original photo1.jpg into this thumbnail:

thumbnailizer.cgi?image=photo1.jpg

PHP version:  @1 Thumbnailizer convert this original photo2.jpg into this thumbnail:

thumbnailizer.php?image=photo2.jpg


General:

  • Convert an image to thumbnail on the fly. It is very useful when used as a plug-in for other scripts that display large image.
  • The original image is resized (lower physical dimension) and resampled (lower file size).

Configuration:

# Max. Height of thumbnail
$height=80;

# Max width of thumbnail
$width=80;

# Full path to image folder. No slash at the end please.
$path='/home/publish/public_html/cgi/demo/thumbnailizer/images';


GD Modules:

You need to have the GD module installed in your server to use this script.
To find out if GD is available . . . .

@1 Thumbnailizer (PHP version):
Create a file called "info.php" with only these codes:

<html>
<body>
<?PHP phpinfo() ?>
</body>
</html>

Upload info.php to your website and point to it from the browser. If GD is present, you should see something like this.

Due to patent issues, GIF is only supported if your GD version is older than 1.6. However, JPG is only supported in version 1.6 or newer. PNG is also supported.

@1 Thumbnailizer (Perl version):
Method 1:
Download perldiver. Install it to your cgi-bin and execute to see if GD is present.

Method 2:
Run the following command under SSH:
perl -e "use GD;"
There should be no messages if the GD.pm module is correctly installed. Otherwise, you will get "Can't locate GD.pm in . . . . . . . ."


Requirement:

  • Come in Perl or PHP version.
  • GD module (see details above)
  • No MySQL needed.
  • No SSI needed.

Purchase:

Price: USD24.95 (both Perl + PHP versions) + Life free upgrades & support

Select your preferred payment gateway
* 2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by UPDI Network Enterprise. * You may pay via PayPal with or without a PayPal account.
  We prefer PayPal (especially if you have a verified PayPal account).
  Join our affiliate program. Instant account approval. Start making $$$. Start with your own purchase.

Click here if you wish to make payment via other methods.
You might want to consider our Membership offer for full access to download ALL our current and future PHP & Perl scripts.


Search Categories (limited to this subject only):

to generate thumbnails, thumbnail generation, generating thumbnails, convert images to thumbnails, create thumbnails from images, perl scripts, cgi scripts