No Images Added Yet

Create square thumbnail of an image

Rated3.7/5 (6 ratings)
Add to Favorites
Publisher
A function that creates square thumb of larger images
Product Details

Sometimes listing more images and align them properly in your list or layout might not be so easy, because the images very often have different sizes and proportions; A good solution is to create square images with same proportions. With this function you can create a square thumbnail of an original image by a simple code like this: create_square_image("sample.jpg","sample_thumb.jpg",200); - First parameter is the name of the image file to resize (can be jpg, gif, png). - Second parameter is the path where you would like to save the new square thumb, e.g. "sample_thumb.jpg" or just "NULL" if you do not want to save new image. Folder whre you save image has to be writable, "777" permission code on most servers. - 200 is the size of the new square thumbnail.

Report this Listing
Price
Free
Licence Type
Free
Views
781
Submitted on
26th June 2010
Last Updated
11th July 2010
Licence Type
Freeware
License Price
USD 0

You May Also Like

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(6 ratings)
Average User Rating: 3.7/5
No reviews found.
Not yet reviewed by any member. You can be the first one to write a review for this listing.Click hereto submit your review.