Imagrr is a small self-hosted, read-only photo gallery for XAMPP. Drop images into storage/import; the importer extracts the capture date, removes image metadata by re-encoding the image, and publishes the cleaned JPEG in the gallery.
- XAMPP with PHP 8.1 or newer
- PHP extensions:
gd,exif, andpdo_sqlite - Apache serving this folder as its document root
If GD is missing, open C:\xampp\php\php.ini, find ;extension=gd, remove the leading semicolon, save the file, and restart Apache. Confirm it with C:\xampp\php\php.exe -m.
The first importer supports JPEG, PNG, and WebP through GD. HEIC, TIFF, and other camera formats need an ImageMagick/Imagick importer in a later step.
- Put this folder at
C:\xampp\htdocs\imagrr. - In
C:\xampp\htdocs\imagrr\storage\import, drop photos. - Open a Command Prompt in the project folder and run:
C:\xampp\php\php.exe bin\import.php
- Open
http://localhost/in a browser.
The source file is removed after a successful import. Unsupported or invalid files are moved to storage/rejected. Cleaned files are written to storage/photos and the SQLite database is created at storage/app.sqlite.
Use Windows Task Scheduler to run this command periodically:
C:\xampp\php\php.exe C:\xampp\htdocs\imagrr\bin\import.php
Set the task's working directory to C:\xampp\htdocs\imagrr.
Do not expose storage directly on a public server. Keep Apache's document root at this project only if your Apache configuration blocks direct access to SQLite and the import/rejected folders.