PHP Classes

Secure Image Uploading and Resizing: Validate and resize uploaded image files

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 808 All time: 4,241 This week: 175Up
Version License PHP version Categories
secure-resize-image 1.0GNU General Publi...5.0HTTP, PHP 5, Graphics, Files and Folders
Description Author

This class can validate and resize uploaded image files.

It can verify an uploaded file to check if it does not exceed a certain limit and its type is either GIF, PNG or JPEG images.

The class can also resize the image to a certain width and height.

Picture of Anirban Nath
Name: Anirban Nath <contact>
Classes: 3 packages by
Country: India India
Age: 34
All time rank: 1739103 in India India
Week rank: 563 Up37 in India India Up

  Files folder image Files  
File Role Description
Plain text file class_secure_resize_storing_images.php Class secure image uploading and resizing
Accessible without login Plain text file conn.php Conf. DB connection file
Accessible without login Plain text file display_images.php Aux. file for dispalying the output to the user
Accessible without login Plain text file fetch_image_frm_db.php Aux. for fetching images from DB and responsible for dispalying to user
Accessible without login Plain text file image_upload.php Example main file for uploading images, ie index file whre user can view the uploading gui

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,241
This week:175Up