SpeedyGoSpeedyGo: One plugin to make your WordPress website faster
Try Now
CorvexaCorvexa: AI that turn more website visitors into qualified leads.
Try it instantly
Menu
logologo+1-256-548-8850
TopDesignKing
Image Ratio

Code and Core
Smart Image Ratio

Smart Image Ratio is a premium WordPress plugin designed for high-fidelity aspect ratio management. It empowers developers and site owners to create perfectly sized image variations with interactive cropping, modern smart-fill technology, and an efficient background processing engine.

Automatic Data CleanupConversion Coverage DashboardAtomic Metadata Infrastructure
1.1.1Version
RegularlyLast Updated
5.0+Requires WP
10+Download

The Ultimate Control Over Your Library

In our latest major release, we’ve transformed the plugin into a highly efficient, server-friendly powerhouse:

Automatic data cleanup that keeps your database and literal <upload> folders completely bloat-free by intelligently removing all generated ratio variations and tracking metadata whenever a post or media attachment is deleted. The new real-time Conversion Coverage Dashboard provides clear statistics and conversion progress percentages across all registered post types, while our atomic metadata infrastructure uses optimistic locking to prevent race conditions and maintain data integrity during concurrent AJAX operations. Security and privacy have also been strengthened with strict capability checks on all AJAX endpoints and automatic index.php protection for custom upload directories to prevent directory listing. In addition, the plugin is now 100% privacy-compliant with native hosting, as all assets—including SweetAlert2 modules and Google Fonts—are hosted directly within the plugin, ensuring zero tracking and no offloaded scripts.

Key Features

  • Custom Aspect Ratios
    Define unlimited aspect ratios (e.g., 16:9, 4:3, 1:1) through a sleek, SaaS-inspired admin interface.
  • Interactive Cropping
    Powered by Cropper.js, providing a pixel-perfect interface within the WordPress Media Library to adjust every variation manually.
  • Smart Fill & Blur Flow
    Automatic color-sampled blurred backgrounds for non-standard image compositions—never see awkward white bars again.
  • Atomic Metadata Management
    Robust optimistic locking system that prevents data corruption during simultaneous image generations.
  • Security Hardening
    Strict capability enforcement (edit_posts) for all internal AJAX operations and automatic directory protection for generated assets.
  • Automatic Storage Cleanup
    Intelligent logic that automatically purges image variations and metadata when a Post or Media item is deleted, keeping your server bloat-free.
  • Conversion Coverage Dashboard
    Real-time card-based statistics showing conversion progress across all registered post types.
  • 100% Localized Assets
    Zero remote CDN tracking. All dependencies (SweetAlert2, Google Fonts) are shipped locally for absolute privacy standard compliance.
  • Developer-First Architecture
    Built with modern PHP practices, 100% strict compliance with WordPress Coding Standards (WPCS) & PluginCheck, yielding a clean and deeply documented Public API.
  • Gutenberg & Classic Editor Integration
    Seamless UI panels (vCards) injected directly into the Block Editor and Classic Post screens to manage ratios dynamically while writing content.
  • Frontend Shortcodes & APIs
    Simple [code_and_core_sir_image] shortcode and PHP helper functions for effortless frontend rendering and page-builder (Elementor, Divi) compatibility.
  • Advanced Debug Logging
    Isolated system-level flat-file logging (cnc-sir-debug.log) for robust server execution monitoring and troubleshooting without cluttering standard WordPress debug logs.
  • Real-time Quality Playground
    Adjust JPEG output quality in settings and see instant canvas-simulated results on your sample images before saving.
  • Maintenance & Wipe Tools
    Single-click administrative actions to instantly clear background queues, completely wipe ratio configurations, and purge all plugin metadata—assuring a pristine environment when managing staging sites.
Slide 1
Slide 2
Slide 3
Slide 4
Slide 5
This plugin utilizes the following open-source third-party libraries:
  • SweetAlert2 – Beautiful, responsive, customizable, accessible replacement for JavaScript’s popup boxes (MIT License).
  • Cropper.js – Robust JavaScript image cropper used for the interactive Media Editor (MIT License).
  • Outfit Font – Google Fonts typeface used throughout the plugin’s administration user interface (SIL Open Font License).

Your
Questions,
Answered

Do you have any further questions or concerns? Our experts are just one click away from addressing them!

Does this plugin affect site performance? plus icon

No. The plugin generates images in the background and only when needed. Frontend display is extremely fast as it simply retrieves a metadata URL, just like standard WordPress featured images.

What happens if I don’t manually crop an image? plus icon

The plugin will automatically apply the “Fit” or “Smart Fill” mode you’ve selected in the settings to generate the initial variation.

Is it compatible with Page Builders like Elementor or Gutenberg? plus icon

Yes! You can use the provided shortcode or helper functions within any page builder widget that supports shortcodes or custom PHP.

Can I use CodeAndCore\SIR for SEO? plus icon

Yes. By serving exact aspect ratios, you minimize CLS and improve page speed, both of which are critical for SEO rankings.

What image formats are supported? plus icon

The plugin supports all standard web image formats including JPG, PNG, WebP, and GIF.

How do I delete generated images? plus icon

The plugin automatically deletes all generated image variations when you delete the original image from the media library. You can also manually clear all generated images from the settings.

Looking for reliable white label services?

At Code and Core, your data is safe with top-tier encryption. For extra peace of mind, we're happy to sign an NDA to ensure full confidentiality

Hire Us
Let's Talk
  • Pay roll Basis
  • Hire Tech Pool
  • Maintenance of Existing Project
  • Fixed Price Project
  • Hourly Based
  • Something Else
imagelogo
close

Welcome to LiveChat

We are here to help you! Chat or WhatsApp to connect with us right away.
chatimgk
Chat
whatsappimgk
WhatsApp
scheduleimgk
Schedule