Algorithms Arrays Passwords Uncategorized
Commerce Uncategorized
Databases Abstraction Layers Informix LDAP MS SQL MySQL ODBC PostgreSQL Uncategorized
Date & Time Calculators Conversion Translation Uncategorized
Discussion Chat Forums Guestbooks Polls Uncategorized
Email Validation Uncategorized
External Uncategorized
Files and Directories Uncategorized
Games Uncategorized
Graphics 3-D Graphs Resizing Thumbnails Uncategorized
HTML Forms Menus & Navigation Source Viewers Tables Templates Uncategorized
HTTP Authentication Cookies File Uploading Uncategorized
I18N Uncategorized
Math Uncategorized
Miscellaneous Uncategorized
Searching and Trees Uncategorized
Security Uncategorized
Text Uncategorized
Utilities Calendars Counters Link Checkers Weather Uncategorized
XML Uncategorized
| php sample source codes |
|---|
|
This is a very simple and easy way to resize your Image, Just passed the value for SafComMakeThumbnails() it will do your work
|
|
This script will open an image ($image), resize it to the values you specify ($max_height and $max_width), then if you want, add a border ($addborder). It uses ImageCopyResampled from GD 2 as ImageCopyResized looks too pixelated. Set $image_quality to anything between 0 and 100.
|
|
Convert height and width to your specific height and width. This code returns the relative height to the width and otherwise too.
|
|
This is a generic resizer code snippet.
It allows you to resize web compliant images (jpeg, gif, png), and to keep or not proportions, on both height and width, only width, onlyheight, the greatest value, the smallest value...
|
|
This is a function that resizes an image using imagemagick.
|
|
When you need the same image on your site several times,but in different sizes here's your solution.
If you want your users to easy upload images from their digicam and store them in a default size. This is how you do it.
Store images once and show them in any dimension you'd like
Based on jpgtn.
|
|
Simple PHP Image Resize
|
|
PHP script that resizes on the fly an image file (jpg, gif, png). Two parameters (image name and size).
|
|
some time one image use for many pages, like to create a thumbnail etc, <br>hopely this code usefull for you
|
|
A quick function that shrinks images, maintaining integrity of the image (no stretching). You pass the path to the image, the path for the new image, and the size constraints within which the image should fall, and the function returns true or false.
|