A WordPress plugin that adds a convenient download button after galleries for administrators, allowing them to easily download all gallery images as a ZIP file.
- Adds a "Download Gallery Images" button after any WordPress gallery for admin users
- Creates a ZIP file containing all original images in the gallery
- Secure implementation with nonce verification
- Only visible to administrators - regular visitors won't see the download button
- Works with standard WordPress gallery shortcodes
- Styled button that integrates with WordPress admin interface
- Efficient file handling with proper cleanup of temporary files
- When an administrator views a page containing a gallery, a download button is displayed after the gallery
- Clicking the button triggers an AJAX request with proper security verification
- The plugin creates a temporary ZIP file containing all original images from the gallery
- The ZIP file is sent to the browser for download
- The temporary file is automatically deleted after download
- Only administrators can see and use the download functionality
- Uses WordPress nonce system to prevent CSRF attacks
- Validates image IDs to ensure only gallery images are included
- Proper file handling to prevent security issues
- Quickly download all images from a gallery for backup purposes
- Export gallery images for use in other applications
- Easily access original images when editing content
- Time-saving tool for WordPress site administrators
- Upload the plugin files to the
/wp-content/plugins/ktwp-admin-gallery-download
directory - Activate the plugin through the WordPress admin interface
- View any page with a gallery while logged in as an administrator to see the download button
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.