What is php image size?
PHP can create images of different sizes. It depends on a particular image.
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.
Image creating and manipulating in PHP can be done with multiple libraries, some officially supported by PHP and some made by third parties. A common library, especially for developers new to image libraries, is the GD package. You must include the library you wish to use upon installation of PHP (if it is officially supported), or manually include the library into your scripts.
If you can get the image url then just assign it to a php variable say: $image = (See related Link) Then you just have to add '$image' to the insert statement of your sql query Note: It would be better to store the folder path where your image is stored. That way your image will not be lost if your site moves to another server.
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