PHP have mosts of functions available to create a image on the fly. You can use these functions to create a captcha image or a add banner on the fly.
<?php
$new_image = imagecreate( 400, 200 );
$apply_background = imagecolorallocate( $my_img, 0, 0, 255 );
$text_colour = imagecolorallocate( $new_image,...
Following code will retrieve all file names from a specified folder.
<?php
$filePath = "/var/www/public_html/mysite/images";/* Enter path to the folder */
$string="";
$fileCount=0;
$dir = opendir($filePath);
while ($file = readdir($dir)) {
if (eregi("\.png",$file))...
This is excellent php function which can be used to get Width,Height,Type of a Image using PHP. for more information read PHP.net
list($width, $height, $type, $attr) = getimagesize("image_name.jpg");
echo "Image Properties";
echo "Width " .$width;
echo "<br/>";
echo...
Here in this post i created multiple file upload using latest version of jQuery and Ajax upload library by Andrew Valums. Just download both libraries and include them in your files.
Then first we will create a upload button and when user click on this button user can add files. we are not using classic...
For every website design Typography plays a very important role.
And in current website trends there are many fonts used for better user experience but on most of cases they are not system fonts so cant be displayed on any cases.
For this fonts problem there is a solution i.e. Image Replacement which...