PHP Script

SnapCompress - Bulk Image Compressor & Format Converter

0 reviews · v2.0.0

Drag, drop, compress. A self-hosted bulk image optimizer your visitors can use in seconds, no account required.

$19.00

SnapCompress is a lightweight, self-hosted PHP script that lets anyone bulk-compress and convert JPG, PNG, WebP and GIF images straight from their browser, no signup, no external API, no monthly SaaS fee. Visitors drag in a batch of images, choose a quality level and an output format, and download a single ZIP of optimized files, with a live before/after size comparison for every image. Built on PHP's native GD library, it runs on ordinary shared hosting with no Composer install and no build step. A password-protected admin dashboard tracks total images processed and total bytes saved, backed by a simple MySQL history table. Drop it onto your own domain and you have an instant, brandable image-optimization tool, perfect for agencies, freelancers, or as the seed of a SaaS.


Features:

- Drag-and-drop multi-file upload (JPG, PNG, WebP, GIF)

- Quality slider for lossy compression (JPG/WebP)

- Output format selector: keep original, or convert to JPG / PNG / WebP

- Optional max-width/height resizing (aspect ratio preserved, never upscales)

- Live before/after file size and percentage-saved for every image

- One-click ZIP download of the whole processed batch

- MySQL-backed processing history (filename, sizes, format, timestamp)

- Password-protected admin dashboard with total images processed and total bytes saved

- Server-side validation by real image content, CSRF-protected admin forms, random storage filenames

- Automatic temp-file cleanup after each download, plus an optional cron cleanup script

- No Composer, no framework, no CLI build step: plain PHP + MySQL


New in version 2:


- Compression presets and a per-file upload status list with a progress bar


- A clear fallback message when the server cannot produce WebP output


- A paginated admin history with a "Clear history" action


- CSRF protection on the public upload form, a max width/height check on uploaded images before decoding, and rate limiting on login and upload


- Improved layout and accessibility for small screens, keyboard use, and screen readers


Existing v1 customers can upgrade their database in place using the upgrade guide included with the download.

Requirements

PHP 7.4 or newer (with GD extension) MySQL 5.7+ or MariaDB 10.3+

Compatibility

PHP 7.4 - 8.3, MySQL/MariaDB

v2.0.0 Current Sep 4, 2026

Added compression presets, a per-file upload status list with a progress bar, and a clear fallback message when the server cannot produce WebP output. Hardened security across the app: CSRF protection now covers the public upload form, uploaded images are checked against a max width/height before decoding to prevent memory exhaustion, login and upload are rate limited per IP, session cookies are HttpOnly and SameSite, and storage/ now ships with a .htaccess blocking direct web access. The admin dashboard history is now paginated and includes a "Clear history" action, and flash messages confirm the result of actions like login, logout, and clearing history. Layout and accessibility were improved for small screens, keyboard use, and screen readers. Schema change: added a rate_limit_hits table for the new rate limiting. See UPGRADE.md for the exact SQL to run against an existing v1 database and for a note on the new storage/.htaccess file.

v1.0.0 Aug 28, 2026

Initial release of SnapCompress 1.0.0 - drag-and-drop bulk image compression and format conversion (JPG, PNG, WebP, GIF), quality slider for lossy compression, optional resizing with aspect ratio preserved, live before/after size comparison for every image, one-click ZIP download of the processed batch, MySQL-backed processing history, and a password-protected admin dashboard tracking total images processed and bytes saved.

No reviews yet.

You might also like

FileVault Share admin login screen
PHP Script

FileVault Share

Self-hosted secure file sharing with passwords, expiry, and download limits: no framework, no Composer, just PHP + MySQL.

$24.00
VenueReserve venue browser
PHP Script

VenueReserve - Venue & Room Booking System

A lightweight, self-hosted reservation system for meeting rooms, event halls, sports courts, and co-working spaces, with a real conflict-free approval workflow.

$27.00
QuickTasks login screen
PHP Script

QuickTasks - Team Task & Project Tracker with Kanban Board

A self-hosted Trello-style task tracker with Kanban boards, projects, and due-date tracking.

$29.00
LinkSnap homepage
PHP Script

LinkSnap - URL Shortener with Analytics & QR Codes

A self-hosted link shortener your clients can actually own: clicks, QR codes, and zero dependencies.

$19.00
BudgetLine login screen
PHP Script

BudgetLine - PHP Expense & Budget Tracker

A lightweight, self-hosted expense and budget tracker for individuals, freelancers and small teams: pure PHP + MySQL, no framework required.

$22.00
ClientVault login screen
PHP Script

ClientVault - Lightweight PHP CRM

A clean, self-hosted PHP CRM to manage contacts, track deals, and never miss a follow-up: no framework, no monthly SaaS fee.

$25.00 $50.00 -50%