Posted in Tutorial

Image Upload and Resize with PHP

Image Upload and Resize with PHP Posted on January 13, 20121 Comment

Deepanker Verma is the CEO of Techlomedia and a full time blogger. On this blog, he shares web design resources, SEO tips blog monetization tips.

Best WordPress Hosting

Image uploading is the need of websites which handling form processing or user login. Most of the realtime web application needs this feature. But the main problem is the image size and resolution while uploading the photo. In this post, I am going to write about image upload and resize with PHP. You can use this code and check if it works for you. By resizing the image, you can save space on your hosting and small images also takes less time in loading in browser.

This script resize an Image into two 60px and 25px. see the variables $newwidth and $newwidth1 in the code. Change the values according to your need to convert image size according to your need.

Advertisement

PHP Code

 

advertisement

Deepanker Verma is the CEO of Techlomedia and a full time blogger. On this blog, he shares web design resources, SEO tips blog monetization tips.

1 thought on “Image Upload and Resize with PHP

  1. It’s really a nice and useful piece of info. I am glad that you shared this useful info with us. Please stay us up to date like this. Thanks for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Receive fresh web design resources and SEO tips in your email by our weekly newsletter

You have Successfully Subscribed!