=== Media Genie === Contributors: pujidesign Tags: image, media, rename, retina, image sizes Requires at least: 7.0 Tested up to: 7.0 Requires PHP: 8.0 Stable tag: 1.0.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Manage media with folders, auto-renamed uploads, custom image sizes, and Retina (2×) support. == Description == Media Genie Support streamlines your media workflow: * Auto-rename uploaded images for better organization and SEO. * Choose which image sizes to generate — save storage and avoid clutter. * Retina (2×) image support for high-resolution displays. * **Folder management**: create folders, assign media, filter by folder. * **Drag & drop**: drag media onto folders to organize them, or drop one file onto another to merge them. * **Default folder per post**: automatically organize media for posts. * **Folder color labels**: quickly identify and differentiate folders. Lightweight, fast, and fully integrated into the WordPress media library. == Installation == 1. Upload the plugin to the `/wp-content/plugins/media-genie/` directory. 2. Activate the plugin through the **Plugins** menu in WordPress. 3. Go to **Tool > Media Genie** to configure plugin options. == Changelog == = 1.0.6 = * Folder tree drag & drop rework in the media library and media panel: folders can now be dragged out of a parent folder back to the root, moved between levels, and reordered within the same level. * Dropping a folder on another folder's heading nests it inside; dropping near the top or bottom edge reorders it among its siblings. * Prevented dragging a folder into itself or its own descendants. * Public and private folder trees are now isolated from each other — folders cannot be dropped across types, validated on both the front end and the server side. * Server-side sort handling now rejects folders that do not belong to the requested folder type. * Drag & drop merge: drop a media file onto another media file to merge them; the source file is permanently deleted and folder/media counts are updated accordingly. * Restored drag & drop of media files onto folders in the media library and media panel to reassign their folder. * Bulk-selected media can now be dragged onto a folder together; previously only the first selected file was moved. * Folder sidebar now appears in the Gallery block media modal on WordPress 7 (MediaFrame.Post). * Media and folder counts now refresh correctly after moving or merging files. = 1.0.5 = * Advanced settings: optional WebP conversion, quality, and max image width. * Convert on upload, single regenerate, and batch regenerate; update MIME after conversion. * Safer file replace: verify new files before deleting old ones. = 1.0.4 = ReGenerate Single File = 1.0.3 = Fix file upload display issues = 1.0.1 = * Added folder management for media files. * Set default folder for posts. * Folder color labeling. * Maintains auto-rename, selective image sizes, and Retina support. = 1.0.0 = * Initial release. * Auto-rename uploaded image files. * Selectively generate image sizes. * Retina (2×) image support. == License == This plugin is licensed under the GPLv2 or later.