=== Reimage Optimizer === Contributors: reimagedev, ahmedgul, hassansattar147 Tags: optimization, image compression, video optimization, performance, troubleshooting Requires at least: 5.7 Requires PHP: 7.0 Tested up to: 6.9 Stable tag: 2.0.0 License: GPL-2.0+ License URI: https://www.gnu.org/licenses/gpl-2.0.html Short Description: Optimize and compress images and videos in WordPress. Improve speed and SEO with HLS, logs, and troubleshooting tools. == Description == **Reimage Optimizer** is a complete media optimization suite for WordPress. Starting with image compression and resizing, it now includes **video optimization**, **HLS video embedding**, **plugin status monitoring**, **logging**, and **troubleshooting** tools for better visibility and performance. Whether you're a blogger, developer, or media-heavy website owner, Reimage Optimizer helps reduce media weight and improve your site's speed and SEO rankings. ### 🌟 Key Features #### ✅ Image Optimization - Automatically compress and optimize images on upload. - Manually optimize existing media via a clean dashboard. - Resize large images to match site dimensions. - Supports JPG, PNG, GIF, and WebP formats. #### 🎬 Video Optimization (NEW in v2.0.0) - Convert videos to HLS (.m3u8) format. - Embed video players with advanced controls and lazy loading. - Set custom posters, autoplay, mute, loop, and more. - Compatible with modern video.js + HLS.js stack. #### 📺 HLS Video Embedding (NEW) - Embed adaptive HLS streams using Video.js. - Optional skip-back/forward buttons and PiP mode. - Background video support for headers or hero sections. #### 🛠 Troubleshooting Tools (NEW) - PHP limit checker (upload size, execution time, etc.). - Smart error detection and helpful feedback for common issues. - Clears outdated or resolved errors automatically. #### 🔍 Plugin Status Page (NEW) - Easily view your plugin connection status. - See if your API key is active, current usage, and sync info. #### 📂 Logging System (NEW) - Detailed logs of errors, exceptions, and optimization activity. - View log files directly from the dashboard. - Automatically clean up old log files monthly. #### 📊 Real-Time Stats - Dashboard widgets show total images optimized, savings, and video conversions. - Clear visibility into optimization progress and savings. == Installation == 1. Upload the `reimage-optimizer` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Navigate to “Reimage Optimizer” in the admin menu to configure your settings and connect your API key. == Frequently Asked Questions == = What media formats are supported? = **Images:** JPG, PNG, GIF, WebP **Videos:** MP4 → HLS (.m3u8) using the Reimage backend = Does video optimization happen locally or remotely? = Videos are processed securely through the Reimage API and returned in HLS format for adaptive streaming. = Can I disable automatic image optimization? = Yes. You can choose to manually optimize only by turning off the auto-optimize option in settings. = What if a video fails to convert? = Troubleshooting tools will notify you of server-side limits or errors. Logs help you track and resolve issues. == Screenshots == 1. Plugin settings panel 2. Image & video optimization dashboard 3. Embedded HLS video player 4. Troubleshooting page 5. Log viewer 6. Plugin status screen == Changelog == = 2.0.0 = - 🎬 Added video optimization via HLS. - 📺 Introduced customizable HLS video player with skip, PiP, and autoplay. - 🛠 New troubleshooting feature to detect server limits and common errors. - 📂 Added error and optimization logs with log file browser. - 📊 Introduced plugin status page for API and sync checks. - ✨ Improved UI and UX across the plugin. = 1.1.0 = - Fixed minor bugs with optimization stats display. - Improved image compression algorithm for better quality. = 1.0.0 = - Initial release with automatic and manual image optimization. - Real-time optimization statistics. - Basic settings and configuration. == Upgrade Notice == = 2.0.0 = This is a major upgrade that includes **video optimization, HLS embedding, logging, and troubleshooting tools**. Make sure to configure your new settings after updating. == Support == Need help? 📨 Email: [support@reimageoptimizer.com](mailto:support@reimageoptimizer.com) 📚 Docs: https://reimage.dev/docs 🧩 WordPress Support Forum: https://wordpress.org/support/plugin/reimage-optimizer/ == License == This plugin is licensed under the GPL-2.0+ License. See LICENSE.txt for details. == External Services == This plugin connects to the **Reimage API** to perform remote optimization tasks. **Services Used:** - Image and video optimization via `https://api.reimage.dev` **Required API Key:** - Create a free account at https://app.reimage.dev to get your API key. **Privacy Policy:** https://reimage.dev/privacy.html **Terms of Service:** https://reimage.dev/terms.html **Service Provider:** Reimage Developer Team — https://reimage.dev