Simple Image Gallery Web App using PHP Free Source Code



This is a Simple PHP Project entitled Simple Image Gallery Web App. This application is a web-based application that can be managed by multiple users. The user can store their images in this web application. He/She can also organize his/her uploaded images by album. The application has many features to manage the images.

About the Simple Image Gallery Web App

This web application was developed using PHP, MySQL Database, HTML, CSS, Javascript (Ajax and jQuery), Bootstrap, and AdminLTE template. Any user/possible user can create their own account to store and manage images. The system users can able to upload, delete (archived), permanently delete images, create albums, manage albums, rename album/image name, download image, move the image to another album, and more. The system is easy to use and has a pleasant user interface. I have created this source code to help other programmers especially those new in PHP language and IT/CS students to understand how to handle files using the said Programming language and also to learn some ideas and techniques in developing such as this simple project.


  • Secure Login and Registration
  • Dashboard (displays summary)
  • Manage Album
    • Create New Album
    • Rename New Album
    • Remove Album
  • Manage Image
    • List all images in an Album
    • Rename Image Name
    • Download Image
    • Move Image to another album
    • View image
    • Remove Image
  • Manage Archives
    • Retrieve Deleted Album
    • Retrieve Deleted Image
    • Empty Archives
  • Manage Account

Sample Snapshots





View Images




How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP's Control Panel and start the Apache and MySQL.
  2. Extract the downloaded source code zip file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming gallery_db.
  6. Import the provided SQL file. The file is known as gallery_db.sql located inside the database folder.
  7. Browse the Simple Image Gallery Web App in a browser. i.e. http://localhost/gallery.

Sample User Access:

Username: admin
Password: admin123


That's it! I hope this Simple Image Gallery Web App in PHP will help you with what you are looking for and you'll find/learn something useful for your future PHP Projects. Explore more on this website for more Free Source Code and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byTashoka (not verified)on Thu, 08/12/2021 - 05:52

Thanks for your help sir
Submitted byArie Joe (not verified)on Mon, 08/23/2021 - 17:27

Hello, how much does this cost for commerical licence for 60000+ people?
Submitted byKuldeep Sharma (not verified)on Mon, 10/03/2022 - 20:33

it can't show warning when same user name is enter and even create duplicate user with same password i have solve user problem by creating username attribute as unique id but i can't able to show warning after pressing same user name because i don't know how to insert data in users table. so please fix it if you know this project very well

Add new comment