You need to upload the scripts to web hosting space that support PHP.
The most popular way to resize a picture is to put it into a digital format on your computer, and than manually resize it using software such as Photoshop or MS Paint. Some websites also offer a resize service for completely free.
If you mean uploading files...HTML Form (front-end):Filename:PHP (upload_file.php)Thank You Google & w3schools (http://www.w3schools.com/php/php_file_upload.asp)
PHP is a recursive acronym for "PHP: Hypertext Preprocessor" created by The PHP Group. PHP is a widely used server-side scripting language and the general purpose of PHP is to create dynamic Web Pages. For more information, visit the PHP website.
this is file of index.php or any file that contains uploading area ....... .................................................................................... <body> <form name="frmFile" method="post" action="fileuploadprocess.php" enctype="multipart/form-data"> <label>Select File</label> <input type="file" name="flnFile" /> <br /> <input type="submit" value="Upload File" /> </form> </body> ..................................................................................................... fileuploadprocess.php that is in form action="fileuploadprocess.php" <?php //print_r($_FILES); //echo(phpinfo()); $sType=$_FILES['flnFile']['type']; echo($sType); //echo("<br>"); $arrFileTypes=array("image/jpeg","image/png","image/gif"); $iFileSize=$_FILES['flnFile']['size']; // For KBs $iFileSize=$iFileSize/1024; // For MBs //$iFileSize=$iFileSize/1024; echo($iFileSize); echo("<br>"); //if($sType=="image/jpeg" $sType=="image/png" //$sType=="image/gif") if($iFileSize<=100) { if(in_array($sType,$arrFileTypes)) { $sDirectory="Uploadfiles/sajid"; if(is_dir($sDirectory)) { } else { mkdir($sDirectory,0777); } $dDateTime=date('mdyhis'); $sTempLocation=$_FILES['flnFile']['tmp_name']; //$sDesignationLocation="Uploadfiles/".$dDateTime.$_FILES['flnFile']['name']; $sDesignationLocation=$sDirectory."/".$dDateTime.$_FILES['flnFile']['name']; //echo($sDesignationLocation); move_uploaded_file($sTempLocation,$sDesignationLocation); } else { echo("File type error"); } } else { echo("File size Error"); } ?>
You cant upload an actual picture to MySQL, you can upload the URL but not the picture itself. You would have to upload this to your site first and then send the link to MySQL
You upload the image in HTML using a form that includes the following field <input type="file" name="fileUpload" /> After the form is submitted, you can access it with the $_POST variable as $_POST['fileUpload'] http://www.tutorialsscripts.com/free-php-scripts/file-and-directory-script/image-upload.php
PHP is a server-side language, and doesn't have access to your hard-drive. You have to get the user to upload the picture to the server, first.
How can I change my Photos Background and resize photo? Answer: Use Lunapic to resize, enlarge, shrink or scale an image instantly. Use the form above to choose a image file or URL. After uploading, choose the width or height of the image. You can also drag the corners of the image to resize it. In the future, use the menu above Edit -> Resize Image.
You need to upload the scripts to web hosting space that support PHP.
PHP can create images of different sizes. It depends on a particular image.
You can use the GD extension for PHP to edit image files.
As usual, Image > Image Size but pay attention on image resolution.
I have had a lot of experience with image modification modules with PHP. In order to perform image manipulation in PHP you need an image processing module installed such as GD2 or imagemagik. GD2 comes with PHP and can be installed fairly easily if it is not already installed. You can follow the PHP GD manually for the usage of these functions.
you resize or remap your image from one pixel grid to another.
Please go to www.google.com, and search for "php upload photo script" or something alike. I'm sure you'll find somthing there.
Image > Resize Enter size.