Title: BM1 Frontend Image Replace
Author: Phillip Baumgärtner
Published: <strong>2026 年 4 月 28 日</strong>
Last modified: 2026 年 4 月 29 日

---

搜索插件

![](https://ps.w.org/bm1-frontend-image-replace/assets/banner-772x250.png?rev=3518005)

![](https://ps.w.org/bm1-frontend-image-replace/assets/icon.svg?rev=3518003)

# BM1 Frontend Image Replace

 作者：[Phillip Baumgärtner](https://profiles.wordpress.org/phillipb/)

[下载](https://downloads.wordpress.org/plugin/bm1-frontend-image-replace.1.2.2.zip)

 * [详情](https://cn.wordpress.org/plugins/bm1-frontend-image-replace/#description)
 * [评价](https://cn.wordpress.org/plugins/bm1-frontend-image-replace/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/bm1-frontend-image-replace/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/bm1-frontend-image-replace/#developers)

 [支持](https://wordpress.org/support/plugin/bm1-frontend-image-replace/)

## 描述

**BM1 Frontend Image Replace** lets you swap out images on your WordPress site without
ever touching the admin panel. Simply hover over any image on the frontend, click,
and upload a replacement.

Perfect for:

 * Replacing demo or placeholder images during development
 * Letting clients review and update images without backend access
 * Quick image swaps during content reviews

**How it works:**

 1. Enable the plugin in Settings > BM1 Frontend Image Replace
 2. Visit any page on your site
 3. Hover over an image — a replace overlay appears
 4. Click and select a new image from your computer
 5. The new image is uploaded to the media library and all references in your content
    are updated automatically

**Free features:**

 * Works with any theme — no template modifications needed
 * Uploads new images to the WordPress media library (the original stays untouched)
 * Updates all references in post content
 * Supports Gutenberg block editor, Classic editor, and LiveCanvas
 * Lightweight — no jQuery dependency, minimal footprint
 * Translation-ready (including German)

**Pro features (available at [wp-frontend-image-replace.com](https://wp-frontend-image-replace.com)):**

 * Guest access via shareable temporary links (with expiry)
 * Activity log for all image replacements (Tools > Image Replace Log)
 * Priority support

A premium version with extended features is available at [wp-frontend-image-replace.com](https://wp-frontend-image-replace.com).

## 屏幕截图

 * [[
 * Hover overlay on a replaceable image
 * [[
 * Settings page with enable toggle and access link management
 * [[
 * Activity log showing all image replacements (Pro)

## 安装

 1. Upload the `bm1-frontend-image-replace` folder to `/wp-content/plugins/`
 2. Activate the plugin through the Plugins menu in WordPress
 3. Go to Settings > BM1 Frontend Image Replace
 4. Check “Enable Image Replace” and save

**For guest access (Pro only):**

 1. On the settings page, click “Generate Access Link”
 2. Copy the generated link and share it
 3. Anyone with the link can replace images without logging in

## 常见问题

### Does this delete the original image?

No. The original image remains in the media library. A new image is uploaded as 
a separate attachment, and all content references are updated to point to the new
one.

### Which image references are updated?

The plugin updates:
 * Image URLs in post/page content (block editor and classic
editor) * Gutenberg block metadata (attachment IDs) * Image dimensions (width/height
attributes)

### Does it work with page builders?

The plugin works best with the WordPress block editor and classic editor. Page builders
that store content in serialized format (like Elementor, Beaver Builder) may not
have their references fully updated. The image will still be uploaded to the media
library.

### Which images can be replaced?

Only images that are in the WordPress media library can be replaced. The plugin 
detects media library images by their CSS classes (e.g., `wp-image-123`) or by resolving
their URL to an attachment ID. External images, SVGs, and very small images (under
50px) are excluded.

## 评价

此插件暂无评价。

## 贡献者及开发者

「BM1 Frontend Image Replace」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Phillip Baumgärtner ](https://profiles.wordpress.org/phillipb/)

[帮助将「BM1 Frontend Image Replace」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bm1-frontend-image-replace)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/bm1-frontend-image-replace/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/bm1-frontend-image-replace/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/bm1-frontend-image-replace/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/bm1-frontend-image-replace/)。

## 更新日志

#### 1.2.2

 * Remove daily replacement limit — image replacement is now unlimited for all users
 * Remove unnecessary wp-admin/includes/media.php include
 * Unify naming prefix to bm1fir across all global functions, variables, hooks and
   classes
 * Wrap Pro-only code (guest tokens, license management, activity log) in build 
   markers
 * Add register_uninstall_hook for free version cleanup

#### 1.2.1

 * Fix Freemius is_premium flag for WordPress.org free build
 * Sanitize POST input in batch URL resolver
 * Escape Freemius upgrade URL output in admin settings
 * Remove screenshot assets from plugin package (SVN-only)

#### 1.2.0

 * Renamed plugin to “BM1 Frontend Image Replace” for WordPress.org directory submission
 * Refactored internal prefixes from fir_ to bm1fir_ (Text Domain, classes, options)
 * Removed bundled Zammad support form — support now via https://wp-frontend-image-
   replace.com
 * Improved SQL query preparation in uninstall cleanup
 * Code-base split: free features hosted on WordPress.org, Pro version on wp-frontend-
   image-replace.com

#### 1.1.2

 * Add automated Freemius deployment via GitHub Actions

#### 1.1.1

 * Exclude the site logo from image replacement
 * Added fir-no-replace CSS class to exclude arbitrary images

#### 1.1.0

 * Added image replacement activity log (Tools > Image Replace Log)
 * Fixed image replacement for non-logged-in users when globally enabled
 * Added German translations for log page

#### 1.0.0

 * First stable release
 * Initial release with Free and Pro plans
 * Guest access links (Pro feature)
 * Gutenberg and Classic editor support
 * Rate limiting and security hardening

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.4 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/bm1-frontend-image-replace/)
 * 标签
 * [development](https://cn.wordpress.org/plugins/tags/development/)[Frontend](https://cn.wordpress.org/plugins/tags/frontend/)
   [images](https://cn.wordpress.org/plugins/tags/images/)[media](https://cn.wordpress.org/plugins/tags/media/)
   [replace](https://cn.wordpress.org/plugins/tags/replace/)
 *  [高级视图](https://cn.wordpress.org/plugins/bm1-frontend-image-replace/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/bm1-frontend-image-replace/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/bm1-frontend-image-replace/reviews/)

## 贡献者

 *   [ Phillip Baumgärtner ](https://profiles.wordpress.org/phillipb/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/bm1-frontend-image-replace/)