Resize image

See the other CGIs Japanese Page



Functions
    Resize image
  • Resizing image files and display them
  • Maximum 10 images can be resized at once
  • Resizing can be specified by width/height pixels, width/height ratio or area ratio
  • New window will be opened when a image is clicked
  • Images can be saved by right click
  • All images can be downloaded as a zip file
  • User can manually delete converted files on the server immediately
  • The image files and zip files older than an hour are deleted automatically
  • Can be used without any setting
  • jpeg, gif, png, gd and gd2 are supported

Installation

  1. Perl module, GD and Archive::Zip need to be installed on your server.
  2. Put rszim.cgi into a writable and CGI executable directory.
  3. Modify perl path of the first line of rszim.cgi so that it matches your server environment.
  4. Modify permission of rszim.cgi properly.
  5. If necessary, modify back link part of "my $back="../rszim.html"" properly.
  6. You can use it as rszim.cgi now.
Sample & CGI
    Sample
    rszim.cgi


Revision history
  • 1.001 : 11/2/05 : Fixed error processing. Added auto delete of old image files on server.
  • 1.0 : 10/23/05 : Initial revision