View Categories

Image Manipulation

How to Rotate an Image in PHP

This tutorial will show you how to rotate an image in your PHP scripts. You'll need to have the GD library installed to be able to use some of the functions we use in this guide, though this is included with most PHP installations so there's a chance you'll have it.

Rated 4.17 out of 5

Views: 57

Price: Free

Add text to an existing image with PHP

This tutorial describes how to write text on to an existing PNG image using image functions in PHP by using a simple example.
Each step is clearly described to make it easy to follow.

Rated 2.17 out of 5

Views: 124

Price: Free

PHP Resize Image Tutorial

This tutorial will demonstrate how to resize images with PHP. The ability to resize images is useful for creating thumbnails for image galleries.

Rated 0.00 out of 5

Views: 465

Price: Free

Generate Images with Round Corners On-The-Fly Using PHP and GD Library

The code sample demonstrates the use of GD library to apply round corners on an image on-the-fly. It allows you to apply round corners of arbitrary size and color on a GIF, JPEG or PNG image. The source image is read on-demand and sent directly to the browser. This script can potentially eliminate the need of a graphics editing program to apply round corners on tons of images plus revising the images (e.g. when the color scheme or layout of the w...

Rated 0.00 out of 5

Views: 694

Price: Free

Watermark Your Images with Text Using PHP and GD Library

The article along with complete code sample demonstrates the use of PHP and GD library to watermark uploaded images on the fly. The method demonstrated here to watermark an uploaded image is to render a partially transparent line of text over the original image.

Rated 0.00 out of 5

Views: 655

Price: Free

Resize Images Using PHP and GD Library

The article along with complete code sample demonstrates the use of GD library to generate thumbnails. The script first saves the uploaded image in a specific location, it then generates a thumbnail version of the image and finally saves the generated thumbnail image in JPEG format. The article also includes explanation of the calculations involved and a few other tips.

Rated 0.00 out of 5

Views: 709

Price: Free

Putting watermark on an Image

This PHP can be used for achieving watermarking task easily. I hope it will help you too.

Rated 0.00 out of 5

Views: 485

Price: Free

Image Uploading With Auto Thumbnails Using PHP

In many scenarios you cannot escape uploading images when you develop a php script. This tutorial details how you can upload images using php and auto creates thumbnails on image upload.

Rated 5.00 out of 5

Views: 1700

Price: Free

How to center a text on an image using GD

This tutorial can give you an idea of how to center a text on an image using the GD Library. The script creates an image and centers a text on it.

Rated 0.00 out of 5

Views: 613

Price: Free

How to resize an image (on the fly) and keep its aspect ratio using GD

This is a PHP Class useful if you need to resize images keeping their aspect ratio, using the GD Library. The new height is calculated proportionally to the new width’s size and reverse. For instance you have an image with the following dimensions: width – 1000, height – 800. Its thumbnail with a width of 250 will have the height of 200 (the ratio is kept).

Rated 0.00 out of 5

Views: 726

Price: Free

Image Resizing Class

This class can be used to resize images preserving the aspect ratio.It can open a JPEG, PNG or GIFimage and resize it in such way that neither the width nor the height exceed given size limits.The image is resized to preserve the original proportion between the width and height.The resized image is generated in the JPEG format overwriting the original image file.

Rated 3.33 out of 5

Views: 788

Price: Free

Function to resize image(s)

This function can be used to resize images (with gif,png and jpg extensions) in PHP. Very easy to use in any PHP script.

Rated 0.00 out of 5

Views: 572

Price: Free

Creating An Image Upload Script

A guide to creating a basic script for allowing users to upload images to your website.

Rated 4.00 out of 5

Views: 1468

Price: Free

Gd / FreeType text label generator

Provided script could be used as "text rasterization service" to generate arbitrarily text-images for a web site. MD5-based authorization is used to avoid image generation by unauthorized users.

Rated 0.00 out of 5

Views: 1007

Price: Free

Uploading Image Files with PHP

This comprehensive tutorial guides you through step-by-step in the process of uploading, verifying and storing images with PHP. A database is required for storing information about the images.

All code is provided.

Rated 5.00 out of 5

Views: 2078

Price: Free

Cropping an image

Taking the smaller size between the width and height of an image, we crop that image to obtain a square which we save into a file.
Online demo available.

Rated 2.67 out of 5

Views: 1300

Price: Free

Creating a simple photo gallery

In this tutorial I will show you how to create a simple photo gallery. The script creates thumbnail images if needed and displays all images in the given directory.

Rated 3.89 out of 5

Views: 5993

Price: Free

Watermark on uploaded image

This tutorial shows how you can automate the process of adding watermarks on images from your site right when they are uploaded.

Rated 1.67 out of 5

Views: 1590

Price: Free

PHP multiple photo thumbnail generator

Built-in PHP library gd does not have ready-to-use function for photo(jpeg) thumbnail generation. Although there are many such examples on the net, they are usually not suitable for effective generating series of thumbnails (for ex. 240x240, 140x140, 80x80). This article provides php function thumbnail_generator and trivial image uploading script, which generates series of thumbnails.

Rated 3.67 out of 5

Views: 1832

Price: Free

Creating thumbnail - Resize an image with PHP

In this tutorial I will show you how to resize an image with PHP. You can use this function in your own image gallery implementation or in any other cases when you need to create a thumbnail from your image. Using a this image resize script gives you the possibility to create various images which are different in their size.

Rated 3.89 out of 5

Views: 4471

Price: Free

Error

Success