
Feature your own tutorial here! Find out more.
How to make a fully customizable CAPTCHA system
Submitted by lorz's blog » This tutorial will show you how to make a fully customizable CAPTCHA system.
Simple gallery
Submitted by Creative Designs » Learn how to create a simple gallery to your site.
Center align text with GD
Submitted by CodingTuts » This tutorial will teach you how to align a text string so that it is in the center of your image vertically, horizontally or both.
Tutorial: Storing Images in MySQL with PHP
Submitted by CodeCall Programming » In this tutorial I will show you how to store binary images (or any binary file) in MySQL using PHP.
Enable Client Side Caching for Resized Images
Submitted by Web Cash » The GD library in PHP offers some great tools for resizing and editing images. However, these can increase load time and it would be beneficial to enable client side caching of these resources. You can do this by adding one simple line of code to your image output.
How to Use PHP to Dynamically Resize an Image
Submitted by Web Cash » Sometimes you want to display an image - but it's not stored in the right size. If you allow the browser to resize the image, it will get distorted and waste bandwidth.
Instead, you can use the PHP GD library to resize the image on the fly. This tutorial will show you how to use the GD library to read an image, resize it, and output it as part of an HTML page.
PHP and JavaScript: Drawing a binomial distribution bar graph using the GD library
Submitted by eXanock » Using JavaScript, PHP and the GD library, we are going to draw a bar chart showing the binomial distribution for 0 to 10 successes out of 10 trials based upon the probability for success entered by the user in a form.
PHP GD Library: Captcha and the Alternatives
Submitted by Adam » Most of us have probably encountered a Captcha system on the web in the past few years, sometimes without even knowing it.
Captcha systems are designed to filter out automated "spam bots" from posting to websites that accept submissions such as forums and blogs by asking the user to solve a problem. These problems can range from typing in the letters and numbers displayed in an image to answering a simple math question or selecting the correct image.
PHP GD Library: Cropping Images whilst Maintaining the Aspect Ratio
Submitted by Adam » An article demonstrating how to crop an image using PHP's GD library, whilst still keeping the aspect ratio as it was originally. This is very clever as it prevents the image from looking stretch. For example, if you resized an image to 80x80 but the original image was wide-screen, then the image would look very much stretched. This article shows you how to get around that and crop images the proper way!
Creating a Three Dimensional Pie Chart using Google's Chart API
Submitted by Adam » I ran across this great, easy but very useful API a few days ago. Now for the tutorial.. let's assume we make a website for the TalkPHP soccerteam. They've played 10 matches (6 won, 3 draw, 1 lost). We'll be making a nice three dimensional pie chart of those stats!


