Sell My Images
Turns every Gutenberg image block on your WordPress site into a downloadable product with AI-powered upscaling and Stripe checkout integration.
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)...
Changelog
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog,...
Button Injection System
The button injection system automatically adds download buttons to WordPress image blocks with advanced theme compatibility. Detection Methods Multi-Layer Detection...
Modal System
The modal system provides the user interface for image upscaling with pricing, payment, and status tracking. Modal Structure HTML Template...
Jobs Management Page
The Jobs page provides comprehensive management of image processing requests. Access through WordPress Admin > Sell My Images > Jobs....
Settings Page
The Settings page provides a three-tab interface for configuring the Sell My Images plugin. Access through WordPress Admin > Sell...
Analytics Page
The Analytics page tracks user engagement and revenue performance for your image monetization. Access through WordPress Admin > Sell My...
REST API Endpoints
The plugin provides REST API endpoints under the /wp-json/smi/v1/ namespace for frontend interactions and external integrations. Pricing Calculation POST /wp-json/smi/v1/calculate-all-prices...
Stripe Integration
The Stripe API client handles payment processing with checkout sessions, webhooks, and automatic refunds. Payment Flow Checkout Process Create Stripe...
Upsampler Integration
The Upsampler API client handles AI-powered image upscaling through the Precise Upscale endpoint. Upscaling Process API Workflow Submit image URL...
Cost Calculator
The Cost Calculator determines pricing for AI image upscaling based on image dimensions and resolution multipliers. Pricing Structure Base Costs...
Webhook Endpoints
The plugin provides secure webhook endpoints for external service integration, implemented via parse_request (not rewrite rules) for reliability. Endpoint Structure...
Plugin Settings
Comprehensive configuration options control all aspects of the image monetization system. Core Settings Plugin Status smi_enabled (default: '1') - Master...
Filter Manager
The Filter Manager controls where download buttons appear across your WordPress site with flexible inclusion and exclusion rules. Display Control...
Block Processor
The Block Processor handles Gutenberg image block detection and download button injection for WordPress content. Content Processing Hook Integration Filters...
Featured Image Processor
The Featured Image Processor injects the Sell My Images “Download Hi-Res” button for featured images. Unlike Gutenberg block images (handled...
Analytics Storage
Analytics data storage uses WordPress post meta for efficient click tracking and engagement metrics. Storage Method Post Meta Integration Analytics...
Jobs Table Schema
The jobs table (wp_smi_jobs) provides comprehensive tracking of the complete image processing workflow. Table Structure Core Identification id - Auto-increment...
Email Notification System
The email system provides professional HTML notifications for download delivery and customer communication. Email Types Download Completion Professional HTML email...
Database Manager
The Database Manager provides centralized database operations with standardized CRUD methods and automated schema management. Table Schema Jobs Table (wp_smi_jobs)...
Download Manager
The Download Manager handles secure file delivery with token-based authentication and automatic cleanup. Secure Download System Token-Based Access 64-character random...
Job Manager
The Job Manager handles the complete lifecycle of image processing requests from creation to completion. Job Lifecycle Status Progression awaiting_payment...
Analytics Tracker
The Analytics Tracker records user engagement with download buttons using WordPress post meta storage. Click Tracking System Data Collection Button...
File Manager
The File Manager is responsible for securely downloading the upscaled image from the Upsampler temporary URL and storing it locally....
Webhook Manager
The Webhook Manager provides a shared routing and utility layer for external service webhooks. Its primary goal is to make...
Upscaling Service
The Upscaling Service coordinates AI image processing through Upsampler API integration and file management. Processing Workflow Upscaling Process Receive payment...
Payment Service
The Payment Service coordinates the complete payment workflow using Stripe integration and job management. Payment Workflow Checkout Creation Validate Stripe...
Upscaling Workflow
The AI-powered image upscaling workflow using Upsampler API integration. Workflow Initiation Payment Trigger Upscaling begins when payment is confirmed: //...
Purchase Workflow
The complete customer purchase workflow from button click to download delivery. Workflow Overview Complete Process Flow Customer clicks download button...