Sell My Images – User Documentation
Sell My Images monetizes website images by adding "Download Hi-Res" buttons to content images. Users purchase AI-upscaled versions (4x, 8x) via secure Stripe payments and Upsampler.com processing.
Core System Architecture
Admin Interface
- Settings Page – Three-tab configuration interface for API settings, display control, and download management
- Analytics Page – User engagement tracking and revenue performance metrics
- Jobs Management – Complete processing request management with retry capabilities
API Integration
- REST Endpoints – Public API for pricing, checkout, analytics, downloads, and status polling
- Cost Calculator – Dynamic pricing system based on image dimensions and resolution multipliers
- Stripe Integration – Payment processing with checkout sessions, webhooks, and automatic refunds
- Upsampler Integration – AI-powered image upscaling through Precise Upscale endpoint
Content Processing
- Block Processor – Gutenberg image block detection and download button injection
- Featured Image Processor – Automatic button injection for featured images with conflict detection
- Filter Manager – Display control with flexible inclusion/exclusion rules
Data Management
- Database Manager – Centralized CRUD operations with automated schema management
- Job Manager – Complete lifecycle management from creation to completion
- Download Manager – Secure file delivery with token-based authentication
- File Manager – Secure file storage and management for upscaled images
- Analytics Tracker – User engagement tracking via WordPress post meta
- Webhook Manager – Shared webhook utilities and handler registration
Service Layer
- Payment Service – Complete payment workflow coordination with Stripe integration
- Upscaling Service – AI image processing coordination and file management
Frontend Interface
- Modal System – User interface for pricing, payment, and status tracking
- Button Injection – Automatic button placement with theme compatibility
System Configuration
- Plugin Settings – Comprehensive configuration options for all system aspects
- Webhook Endpoints – Secure external service integration bypassing WordPress routing
Database Schema
- Jobs Table – Complete workflow tracking with financial and processing data
- Analytics Storage – WordPress post meta click tracking and engagement metrics
Process Workflows
- Purchase Workflow – Complete customer journey from button click to download
- Upscaling Workflow – AI-powered image processing using Upsampler API
Communication System
- Email Notifications – Professional HTML notifications for download delivery
Key Features
Monetization System
- AI-powered image upscaling (4x, 8x resolution)
- Stripe-based secure payment processing
- Dynamic pricing based on image dimensions
- Automatic refund processing for failures
User Experience
- One-click download button integration
- Professional modal interface
- Real-time processing status updates
- Mobile-optimized responsive design
Content Integration
- Gutenberg block compatibility
- Theme-agnostic button injection
- Dynamic content support
- Performance-optimized asset loading
Business Intelligence
- Click tracking and conversion analytics
- Revenue reporting and profit analysis
- Customer engagement metrics
- Administrative oversight tools
Security & Compliance
- Token-based download security
- GDPR-compliant data handling
- Secure webhook processing
- SSL-encrypted payment flow
System Requirements
WordPress Environment
- WordPress 5.0+ (Gutenberg required)
- PHP 7.4+
- SSL certificate (required for live payments)
- Writable uploads directory
External Services
- Stripe account (payment processing)
- Upsampler API key (AI image upscaling)
- Valid webhook endpoints
Technical Dependencies
- Composer autoloader
- jQuery (frontend interactions)
- WordPress REST API
- MySQL database with indexes
This documentation covers the complete technical implementation of the Sell My Images plugin for end-user understanding and system utilization.