Image Gallery Content Management System Code
I hope this software ends up in good hands.
Status: Beta
Brought to you by:
lukajagor
# readme.txt - Image Gallery Content Management System v0.9982.1 (November 2025)
================================================================
Simple, beautiful, self-hosted photo gallery with admin panel,
e-card designer, A4 PDF generator, and modern sharing features.
================================================================
Features
--------
- Clean style and design (almost mobile-friendly)
- Admin panel with inline editing & bulk actions
- Automatic WebP thumbnails + original full-size images
- Three sort modes: Latest ยท Top Hits ยท Oldest
- Per-image detail page with view counter
- Built-in e-Card designer (add text + emojis + uploaded stickers)
- One-click A4 PDF generator (two-page layout with QR code)
- Share buttons + native Web Share API + embed HTML code
- No JavaScript frameworks โ pure PHP + vanilla JS
- Zero cookies, zero tracking
Website
---------
https://sourceforge.net/projects/image-gallery-cms/
Quick Start (5 minutes)
----------------------
1. Upload all files to your web server
2. Create a folder called `uploads` in the project root and make it writable
(`chmod 755 uploads` or `777` on some hosts)
3. Create a MySQL/MariaDB database
4. Import `database.sql` (contains the single `images` table)
5. Edit `config.php` โ fill in your database credentials:
```php
define('DB_HOST', 'localhost');
define('DB_USER', 'your_username');
define('DB_PASS', 'your_password');
define('DB_NAME', 'your_database_name');