Home » , » Make your own php image resizer tools.

Make your own php image resizer tools.

Today I am going to share a new php script, by which you can resize your image without croping image. You may know that php is a strong programing language, by using it, you can solve your any problem. Now, Let's start our tutorial.



1st, Create 3 file and 2 folder for this.

3 files

  1. resize.php - the main file of resize image.
  2. index.php - for use resize.php
  3. style.css - The file for design (css)

2 folders

  1. uploads - The folder for your uploaded photo which will be resize
  2. images - The folder for save your resized images.

Open your created resize.php file with any notepad like
notepad++
and paste this code to the file.



Save this file by CTRL+S.

Now Open your index.php and paste this code and save the file.

Our job tutorial complete. But is the script looking ugly? No problem, Paste this css code in your created style.css
It is optional, Now my tutorial is complete.

Note: Remove breaking tag from the code, otherwise it returns a false result.

If you found a little bite of help then don't forget to share this post and promote us.
Thanks for reading and staying with us.

3 comments:

Popular Posts

Post Category

Blog Statistics

Now online

Page views
Powered by Blogger.