A comprehensive WordPress plugin that enhances WooCommerce products with advanced media management capabilities, including automatic watermarking, image galleries, and custom product variations.



- Bulk Image Upload: Drag-and-drop interface for uploading multiple images at once
- Media Library Integration: Import existing images from WordPress media library
- Image Organization: Sort and reorder product images with drag-and-drop functionality
- SKU Management: Assign custom SKUs to individual images for inventory tracking
- Image Preview: Thumbnail previews for both original and watermarked images
- Text Watermarks: Add custom text watermarks with configurable fonts, colors, and positioning
- Image Watermarks: Use custom images as watermarks with transparency support
- Flexible Positioning: 5 position options (top-left, top-right, bottom-left, bottom-right, center)
- Opacity Control: Adjustable watermark transparency (0-100%)
- Quality Settings: Configurable output quality for optimal file sizes
- Real-time Preview: See watermarked results immediately after generation
- Cart Display: Watermarked images shown in cart with SKU information
- Order Management: Original images stored in order records for clean documentation
- Product Variations: Each watermarked image creates unique product variations
- Checkout Process: Seamless integration with WooCommerce checkout flow
- Masonry Layout: Beautiful responsive gallery using Isotope.js
- Infinite Scroll: Load more images automatically as users scroll
- Product Switching: Switch between different products within the same category
- Lightbox Integration: Fancybox support for image viewing
- Category-based Galleries: Display galleries filtered by product categories
- Settings Panel: Comprehensive watermark configuration options
- Media Management: Intuitive interface for managing product media
- Bulk Operations: Generate watermarks for multiple images at once
- Order Tracking: View selected images in order details
- WordPress: 5.0 or higher
- WooCommerce: 5.0 or higher
- PHP: 7.4 or higher
- MySQL: 5.6 or higher
- Memory Limit: 256MB minimum (512MB recommended)
- Download the plugin ZIP file
- Go to WordPress Admin โ Plugins โ Add New
- Click Upload Plugin and select the ZIP file
- Click Install Now and then Activate
- Extract the plugin files to
/wp-content/plugins/woocommerce-product-media-manager/
- Go to WordPress Admin โ Plugins
- Find "WooCommerce Product Media Manager" and click Activate
- Activate Plugin: The plugin will automatically create necessary database tables
- Configure Watermarks: Go to WooCommerce โ Product Media Manager โ Settings
- Set Default Options: Configure watermark text, position, opacity, and quality
- Enable/Disable: Toggle watermarking functionality
- Watermark Type: Choose between text or image watermarks
- Text Settings: Configure font, size, color, and background
- Image Settings: Upload custom watermark images with scale control
- Position: Select from 5 positioning options
- Opacity: Adjust transparency (0-100%)
- Quality: Set output quality (1-100)
- Edit Product: Go to any WooCommerce product
- Media Manager Tab: Find the "Product Media Manager" tab
- Upload Images: Use drag-and-drop or media library import
- Generate Watermarks: Click "Generate Watermark" for each image
- Set SKUs: Assign custom SKUs to track inventory
- Save Changes: Update the product to apply changes
- Select Multiple Images: Use checkboxes to select multiple images
- Bulk Watermark: Generate watermarks for all selected images
- Bulk SKU Update: Update SKUs for multiple images at once
- Create Shortcodes: Use
[wc_pmm_simple_gallery category="your-category"]
- Customize Display: Modify CSS for custom styling
- Infinite Scroll: Automatically loads more images as users scroll
- Browse Gallery: View watermarked images in product galleries
- Select Images: Click on images to add specific variations to cart
- Cart Review: See selected watermarked images in cart
- Checkout: Complete purchase with selected image variations
- Order Confirmation: Receive order with original image references
- Responsive Design: Works on all devices and screen sizes
- Masonry Layout: Beautiful grid layout with automatic positioning
- Infinite Scroll: Seamlessly loads more images
- Product Switching: Switch between different products in same category
- Lightbox Viewing: Click images for full-size viewing
/* Custom gallery styling */
.wc-pmm-simple-gallery {
margin: 20px 0;
}
.wc-pmm-product-link {
color: #333;
font-weight: bold;
}
.wc-pmm-watermarked-image {
border-radius: 8px;
transition: transform 0.3s ease;
}
.wc-pmm-watermarked-image:hover {
transform: scale(1.05);
}
// Custom Isotope configuration
jQuery(document).ready(function($) {
$('.isotope-grid').isotope({
itemSelector: '.gallery-col',
layoutMode: 'masonry',
masonry: {
columnWidth: '.gallery-col',
gutter: 15
}
});
});
// Custom watermark settings
add_filter('wc_pmm_watermark_settings', function($settings) {
$settings['watermark_text'] = 'Your Custom Text';
$settings['watermark_position'] = 'bottom-right';
return $settings;
});
// Custom gallery display
add_action('wc_pmm_before_gallery', function($category_slug) {
echo '<div class="custom-gallery-header">';
echo '<h2>Custom Gallery for ' . esc_html($category_slug) . '</h2>';
echo '</div>';
});
[wc_pmm_simple_gallery category="category-slug"]
- Display gallery for specific category
wp_wc_pmm_watermark_settings
- Watermark configurationwp_postmeta
- Product media data (key:_wc_pmm_product_media
)
wc_pmm_upload_image
- Upload new imageswc_pmm_generate_watermark
- Generate watermarkswc_pmm_update_image_sku
- Update image SKUswc_pmm_add_to_cart_with_image
- Add image variations to cart
- Image Quality: 85-90% for optimal balance
- Watermark Opacity: 60-80% for visibility
- Batch Processing: Process images in batches of 10-20
- Caching: Enable WordPress object caching
- PHP Memory: 512MB minimum
- Upload Limit: 64MB minimum
- Execution Time: 300 seconds for bulk operations
- Image Processing: GD or Imagick extension required
- Nonce Verification: All AJAX requests include security nonces
- Permission Checks: Role-based access control
- File Validation: Strict file type and size validation
- SQL Injection Protection: Prepared statements for all database queries
- XSS Prevention: Output escaping on all user data
- Check PHP Extensions: Ensure GD or Imagick is installed
- Memory Limit: Increase PHP memory limit to 512MB
- File Permissions: Ensure upload directory is writable
- JavaScript Errors: Check browser console for errors
- Isotope Library: Ensure Isotope.js is properly loaded
- CSS Conflicts: Check for theme CSS conflicts
- WooCommerce Version: Ensure WooCommerce 5.0+ is installed
- Session Data: Clear browser cache and cookies
- Database Integrity: Check for corrupted order meta data
Enable WordPress debug mode to see detailed error messages:
// Add to wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
- Initial release
- Basic watermarking functionality
- WooCommerce integration
- Frontend gallery system
- Admin dashboard
- Infinite scroll
- Cart and order management
- Documentation: Check this README for detailed instructions
- WordPress Support: Post questions in WordPress.org forums
- GitHub Issues: Report bugs and feature requests on GitHub
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This plugin is licensed under the GPL v2 or later.
- Isotope.js: For masonry layout functionality
- Fancybox: For lightbox image viewing
- WordPress: For the amazing platform
- WooCommerce: For e-commerce functionality
- Video Support: Watermark video files
- Batch Processing: Process multiple products at once
- API Integration: REST API for external applications
- Advanced Analytics: Track image usage and performance
- Mobile App: Native mobile application
- Cloud Storage: Integration with cloud storage services
- AI Watermarking: AI-powered watermark placement
- Template System: Pre-built watermark templates
- Multi-language: Internationalization support
- Advanced Filters: More image filtering options
- Export/Import: Bulk data export and import
Made with โค๏ธ for the WordPress community