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

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

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

Communication System

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.