Ana Sayfa / Kod ve Scriptler / MIGallery - Image Gallery Script
MIGallery - Image Gallery Script
Çoklu resim yükleyici, resim yeniden boyutlandırıcı, resim kırpıcı, resim döndürücü ve resim sıralayıcı özellikli PHP Fotoğraf Galerisi Betiği.
- Yayın tarihi24 Mart 2021
- Nerede çalışırPHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, PHP 8.0, PHP 5.5, PHP 5.6
- VeritabanıMySQL 4.x, MySQL 5.x
- Paket içeriği.php, .css, .xml, JavaScript .js
- Son güncelleme17 Eylül 2021
- Canlı demoVar

Overview
PHP Image Gallery Script with multi-uploading, cropping, rotating and sorting features.
This script has been developed for multiple image uploads. It can be used not only for image gallery but also for multi-image upload for many different types of projects.
Images can be cropped, rotated before uploading. It can be sorted by dragging with the mouse on computers or by finger dragging on mobile devices, and information can be added for each picture.
FileAPI javascript tools are used for client side cropping, rotating and uploading images
(https://github.com/mailru/FileAPI)Uploaded images can be reordered later, new images can be added between them.
After installation, a picture table and a simple gallery table associated with this table are also created in the database.
In order to manage the created image gallery, simple page templates have been prepared.
In order to be easy to integrate into projects, a simple design has been made using bootstrap.
When it is installed, this script automatically creates a gallery as seen in the demonstration in the project directory. There are 4 pages on the project directory of this gallery. These pages are prepared as templates with a simple design for convenience to developers.
mi-uploader.php : create and edit gallery, upload and edit images for admin or authorized users
gallery-man.php : gallery management for admin or authorized users
gallery-list.php: list of image galleries for all users
gallery-view.php: view images of gallery for all usersYou can use these pages by appropriately incorporating them into your project and improving their designs.
It is prepared as a template available to develop for different projects.
The codes are written as clearly and comprehensibly as possible. Necessary explanations have been added to the methods. Error logging and debug mode have been added to make it easier to find errors during the development phase.
DIRECTORY STRUCTURE
/project : Your project folder
/bootstrap-... : bootstrap files
/css : css files
/icons : icon files
/js : jquery files
mi-install.php : Install database tables and create CONFIG_FILE and DEFINITIONS_FILE (defined in the definitions0.php) files.
mi-session.php : php session management
mi-init.php : mysql connection
mi-final.php : close mysql connection
mi-footer.php : page footer
mi-navbar.php : navigation bar
mi-uploader.php : create and edit gallery, upload and edit images for admin or authorized users
gallery-man.php : gallery management for admin or authorized users
gallery-list.php : list of image galleries for all users
gallery-view.php : view images of gallery for all users
/migallery
definitions0.php: php definitions (default, you can change it manually)
definitions1.php: php definitions (Default definitions during setup. If you do not change the default paths, the db / definitions.php file will be created after installation.)
session.php : php session management
init.php : mysql connection
final.php : close mysql connection
uploader-thumb-existing.php : print existing thumbnails during gallery editing
uploader-thumb-template.php : thumbnail html template of browsed and added images
ajax-gallery-... : Ajax request files of gallery management
ajax-image-... : Ajax request files of image management
MIGallery.class.php : Main class of gallery and image management
Translator.class.php : Language translator class
FileAPI.class.php : File upload response class
Pagination.class.php : Pagination class
install-ajax-... : Ajax request files of installation
/css : css files
/js : javascript files
/plugins : some javascript plugins
/lang : language files
/xml : language xml files
/js : language js files
/db : The default directory for writable dynamic content. It can be changed during the installation.
config.php : After installation, config.php (default name, can be changed from the definitions0.php) file is created.
definitions.php : After installation, definitions.php (default name, can be changed from the definitions0.php) file is created.
error.log : Errors are written to this file.
/tmp : First, images are uploaded here and created full, slide, thumb and thumb_c sizes
/slide : slide size with aspect ratio
/thumb : thumbnail size with aspect ratio
/thumb_c : thumbnail size with cropped
/img : Then images move here
/slide
/thumb
/thumb_c
/xml : xml files of image informations. It was created to reduce database queries. Used in gallery-view.php file.
When the image is uploaded, first full size (not original size, maximum dimensions specified in the installation), thumbnail and slide images are created in the tmp directory.
After the gallery is saved, the galleFeatures
- Responsive design
- Compatible with mobile devices
- Automatic and easy installation
- Multi (88) language support
- Seo friendly
- Clean Code
- Debug mode and error logging
- Sorting galleries by mouse or touch
- Sorting images by mouse or touch
- Multi upload
- Add/edit image info
- Image cropping
- Image rotating
- Image sorting
- Add, substract and reorder images while editing the gallery
Requirements
- PHP: 5.5+, 7, 8
- MySQL: 4.x, 5.x
- JQuery: 1.7+, 2, 3
- Bootstrap: 4, 5
- Browser Compatibility: Edge, Chrome, Safari, Opera, Firefox
Benzer ürünler

PhotoPortfolio, anlık fotoğraf yayınlama ve fotoğraf göz atma için kullanımı kolay bir web uygulamasıdır.
Yayın: Ekim 2020
PiGallery, kendi çevrimiçi galerinize sahip olmanın en iyi yoludur; hızlı ve kolaydır.
Yayın: Kasım 2017
Görselleri anında optimize etmek, sıkıştırmak ve dönüştürmek için güçlü, bağımsız bir Laravel betiği (JPG, PNG, WebP). API anahtarı gerekmez!
Yayın: Mayıs 2026
WebP, AVIF, HEIC, PDF, PNG, JPG ve 60+ formatı destekleyen PHP Laravel görsel dönüştürücü.
Yayın: Mayıs 2026
Yalnızca bir resim klasörü kullanarak veritabanı olmadan çalışan hafif bir PHP fotoğraf galerisi
Yayın: Nisan 2026
Kendi ve herkese açık galerinizde görsel yayınlamak için minimalist PHP scripti
Yayın: Ocak 2026