PHP Media Gallery is an open-source, free PHP script to upload and display photographs and YouTube videos easily in one place.


  • Small and easily code structure.
  • Supports "jpg", "gif", "png" image files.
  • Supports video upload by using the YouTube URL.
  • It can be used as a photo gallery, video gallery, or both.
  • A progress bar shows the uploading percentage.
  • Option to instant rename uploaded media title.
  • Image orientation is handled.
  • Full responsive by using bootstrap.
  • jQuery image viewer and slideshow.

Technology Used

  • PHP (Server-side scripting language to upload files to the server and create a thumbnail).
  • jQuery (JavaScript library to write less, do more).
  • Bootstrap (Used for responsive design).
  • jQuery Form Plugin (Used to submit HTML form and display Progress bar).
  • jQuery Photobox Plugin (Used display media to image viewer with slideshow).