PB Text and Images Placeholder Fallback Suite

Description

PB Text and Images Placeholder Fallback Suite fills common empty image locations on your WordPress site with a clean, professional placeholder — or your own custom image. Configure each supported location independently from the plugin settings.

Covered image slots:

  • Featured Images — posts, pages, and any custom post type (configurable per post type)
  • User Avatars & Gravatars — shown when a user has no Gravatar photo
  • WooCommerce Product Images — catalog grid, single product, gallery thumbnails, cart, and mini-cart
  • Open Graph / Social Share Images — compatible with Yoast SEO, All in One SEO, and RankMath
  • Broken Images — Global Catch-all — Optional JavaScript handler for many broken frontend <img> elements

Intelligent dynamic placeholders:

  • Dynamic Text Placeholders — generates SVG placeholders with the post title, category emoji, and category name embedded directly on the image. Each supported post can receive a distinct placeholder generated from its available metadata.
  • Initials Avatar Generator — generates personalised circle, square, or rounded avatars with user initials (for example, “JD”). Available in brand colours or a consistent random colour per user.
  • Automatic Brand Colour Detection — scans your active theme’s colour palette (editor palette, global styles, customiser) and uses the primary brand colour for all generated placeholders. No external requests.
  • Category Placeholder Mapping — map post categories and WooCommerce product categories to custom emojis and colours. Technology💻, Travel✈️, Food🍽️, Business📈.

Site health tools:

  • Image Health Dashboard — shows posts, pages, and products without a usable featured-image attachment, plus registered users covered by the avatar fallback. Statistics refresh every 10 minutes from the database.
  • Fix Missing Images — a dedicated screen listing all posts/pages/products missing a featured image. Select multiple posts and bulk-assign any Media Library image as the featured image in one click.

Why this plugin stands out:

  • ✅ Ships with 8 bundled SVG placeholders at the correct dimensions for each slot
  • ✅ Bundled SVG placeholders are each under 2 KB
  • No external calls — everything is self-contained, including dynamic SVG generation
  • No account required — install and go
  • ✅ Each slot is independently toggled — enable only what you need
  • ✅ Choose bundled placeholder, your own custom image from the Media Library, or dynamic generated placeholders

Bundled placeholder sizes:

Slot
Size

Featured image
1200 × 628 px

Post thumbnail
800 × 450 px

Open Graph image
1200 × 630 px

User avatar
96 × 96 px

Author image
150 × 150 px

WooCommerce product
800 × 800 px

WooCommerce catalog
324 × 324 px

WooCommerce gallery thumb
100 × 100 px

Screenshots

Installation

  1. Upload the pb-text-and-images-placeholder-fallback-suite folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to PB Fallbacks Settings and toggle on the slots you want.
  4. Optionally enable Dynamic Text Placeholders or the Initials Avatar Generator for smart, auto-generated placeholders.
  5. Click Save Settings.

FAQ

Does this plugin make any external requests?

No. All placeholder images are bundled inside the plugin directory, and dynamic SVG placeholders are generated server-side using PHP. No data is sent to any external server at any time.

Will this slow down my site?

The plugin is designed to be lightweight. Bundled placeholders are SVG files under 2 KB each. Dynamic placeholders are generated server-side and use browser caching headers. The optional broken-image handler loads a small frontend script only when enabled.

What are dynamic text placeholders?

When enabled, instead of showing a generic grey box, the plugin generates a unique SVG for each post containing the post title, category emoji, and category name. Each supported post can receive a different placeholder based on its title and category information.

How does the initials avatar generator work?

The generator creates a personalised avatar with the user’s initials (first letter of first name + first letter of last name). The colour is consistent per user (based on a hash of the user ID) or uses your brand colour, depending on your setting. Works for registered WordPress users. Anonymous commenters use the configured static avatar fallback.

Does it work with WooCommerce?

Yes. When WooCommerce is active, the WooCommerce slot appears automatically. It replaces the built-in grey box placeholder across the shop catalog, single product pages, gallery, cart, and mini-cart. Optionally, each product can show its category emoji and name on the placeholder.

Does it interfere with Yoast SEO / AIOSEO / RankMath?

No. For the Open Graph slot, the plugin provides a fallback URL directly to those plugins via their own filter hooks. It only outputs a generic <meta property="og:image"> tag on sites where none of those plugins is active.

What happens if I uninstall the plugin?

The plugin removes its settings, legacy broken-image counter, and cached dashboard statistics. It does not delete posts, media, users, or featured-image assignments.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“PB Text and Images Placeholder Fallback Suite” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.2.4

  • Fix: Added the missing analytics cache invalidation method used after bulk featured-image assignment, preventing a fatal error.
  • Improved: Replaced the personal-name initials example in the readme with a neutral fictional example.
  • Improved: Localized permission-denied AJAX responses and simplified the admin menu icon to a WordPress Dashicon.
  • Verified: Re-audited class method calls, AJAX actions, settings keys, text domains, syntax, and package structure.

2.2.2

  • Fix: Corrected malformed translated pagination placeholders on the Fix Missing Images screen.
  • Improved: Updated current dashboard and screenshot descriptions after removal of anonymous frontend analytics writes.
  • Verified: Plugin slug, text domain, request protection, version metadata, and submission package structure remain consistent.

2.2.1

  • Matched the WordPress.org-assigned plugin slug and text domain throughout the plugin.
  • Removed the unavailable Plugin URI.
  • Re-audited all request handlers for nonce and capability protection.
  • Removed anonymous frontend database writes; broken-image replacement now runs entirely in the browser.

2.2.0

  • Fix: Avatar fallback now overrides WordPress defaults when enabled
  • Fix: Anonymous commenters no longer receive generated administrator initials; they use the configured static fallback
  • Fix: REST field is registered only when enabled and now reports accurate fallback dimensions and MIME type
  • Fix: RSS and Atom output now reports the actual image MIME type and dimensions
  • Fix: Category mappings are validated against the selected taxonomy and stale mappings are discarded
  • Fix: Dynamic category SVG requests are restricted to the configured public taxonomy
  • Fix: Image Health detects missing, zero, and deleted featured-image attachments
  • Fix: Broken-image analytics increments atomically, caps submitted counts, and rate-limits public writes
  • Fix: Uninstall removes plugin settings, counters, cached statistics, and multisite copies
  • Improved: Request data is unslashed and validated consistently
  • Improved: Readme claims now describe supported behavior and performance accurately

2.1.0

  • New: REST API fallback image field — pbifs_image can be added to REST-enabled post types when the integration is enabled
  • New: RSS / Atom feed image — Media RSS element injected for posts in RSS 2.0 feed; Atom feeds get
  • Fix: Avatar placeholder SVG silhouette now correctly clipped within the circle boundary
  • Improved: Settings page gains an Integrations tab for REST API and RSS Feed options

2.0.0

  • New: Dynamic Text Placeholders — server-side SVG generation with post title, category emoji, and category pill embedded in the placeholder image
  • New: Initials Avatar Generator — personalised circle/square/rounded avatars with user initials in brand or random colours
  • New: Automatic Brand Colour Detection — reads theme editor palette, global styles, and customiser to match placeholder colours to your site brand
  • New: Category Placeholder Mapping — map any taxonomy term to a custom emoji and colour for use in dynamic placeholders
  • New: Image Health Dashboard — admin page showing missing featured images, products without images, users covered, and image coverage statistics
  • New: Fix Missing Images screen — paginated list of posts missing featured images with bulk-assign via Media Library
  • New: Dynamic SVG image endpoint — serves generated placeholders as proper image URLs with HTTP caching headers
  • New: Analytics beacon — frontend JS reports broken image count to the dashboard in real time
  • Improved: Admin menu changed from Settings submenu to top-level menu item with subpages
  • Improved: Brand colour automatically detected and saved on plugin activation

1.0.0

  • Initial release with five fallback image slots: featured images, avatars, WooCommerce products, Open Graph images, and broken images catch-all.
  • Ships with 8 bundled SVG placeholders in correct dimensions for each slot.