go top

MEGA Sale

  • Colection of 65 PHP scripts for $4.29 each

PHP Image Resize Script

The FREE PHP Image Resize Script will automatically resize any uploaded image to the dimensions specified by you. Use our PHP image resizer to create web pages with dynamically managed content that will load images fine and keep the page layout in a good shape!

Version: 1.0 / Downloads: 5,097

PHP Image Resize Script

Share on:

SPECIAL OFFER

Get 65 PHP scripts in a bundle for $4.29 each!

*For a limited time only get the best deal ever on the market!

View Offer

Description

Images are an integral part of almost all web pages. Every webmaster has to handle and resize tons of images in their work while creating websites and pages. The challenging moment is to handle image manipulation in cases when images will be dynamically managed and hence, uploaded by clients or website administrators.

Our PHP image resize code will help you if you need to edit, crop, and resize an image file uploaded so that the picture fits the space designed for it.

With our image resize PHP script, you will be able to crop and resize a picture, or both altogether. Using the supported parameters, you can also specify which part of the image to be cropped.

Our PHP image resizer will help you add watermark text and determine its position and color. And last, but not least - you can control the picture quality output, which is a useful option if you need to decrease a bit the image file size.

Using the image resizer code and its parameters, you can crop and resize one image multiple times and load different outputs into your web pages. Like we did on our demo sample. You can keep the source image on your server and all the outputs, while the web browsers will download only the resized images. It is a smart way to keep the page load time low!

Download

To download PHP Image Resize Script for FREE you need to login your account.

Share on:

How to Install

Follow this steps below to use our FREE PHP Image Resize Script:

1) Log into your PHPJabbers account and download the script.

2) Unzip the file and upload /resizer/ on your server.

3) For all images on your web page that you need dynamically resized you need to use a code like this:

<img src="resizer/resizer.php?file=images/sunset.jpg&width=700&height=500&action=resize&watermark=PHPJabbers&watermark_pos=cc&crop_pos=center&quality=100&color=255,255,255">

Instead of using images/sunset.jpg for <img> tag src attribute you need to use resizer/resizer.php with all corresponding parameters. Supported parameters are:

- width - the width of the new image;
- height - the height of the new image;
- action - there are 2 possible values "resize" and "crop". You can either resize the source image or crop a part of it;
- crop_pos - if crop action is used, then you can specify which part of the image to be cropped. There are 5 available options: center, top, bottom, left, right;
- watermark - a text will be added upon the image. If this parameter is missing or empty, no watermark will be added;
- watermark_pos - specify watermark text position. Use it along with the "watermark" parameter. There are 9 possible values for this watermark_pos: tl (top left), tr (top right), tc (top center), bl (bottom left), br (bottom right), bc (bottom center), cl (center left), cr (center right), cc (center center);
- color - watermark text color. It should be in the format "int,int,int" for example "255,255,255" for white color;
- quality - the quality of the output image as a percentage of the source image;

Need an advanced image gallery script?

PHP Gallery Script

PHP Gallery Script

An image gallery script for creating unlimited stylish photo galleries.

User License: $19.00

  • Create Unlimited Galleries
  • Five Gallery Styles Available
  • Advanced Image Controls
  • CSS Customization

Commercial PHP Scripts

Buy all 65 scripts in a bundle for $4.29 each. Learn more