[WordPress] 外掛分享: Replace Content Image Size

首頁外掛目錄 › Replace Content Image Size
WordPress 外掛 Replace Content Image Size 的封面圖片
90+
安裝啟用
★★★★
4.6/5 分(9 則評價)
3852 天前
最後更新
問題解決
WordPress 3.3.2+ v1.2.1 上架:2012-05-28

內容簡介

WordPress會為每個上傳的圖像產生多個不同尺寸的版本。這些圖像將使用視覺編輯器插入到文章內容中,選擇適合當前主題的正確格式大小,以便在佈局中正確顯示圖像,避免溢出到側邊欄或其他元素。

這些圖像現在是內容的一部分,且獨立於博客設計或行為的任何更改都已在文章中硬編碼。

因此,當您將主題切換為另一個較小的主題,或新主題與舊佈局相比非常大時,這些圖像可能無法完全適應新設計。

對於這些情況,此外掛的目的是搜索文章內容中的以前圖像大小(對於當前主題效果不佳的大小)並將其替換為正確的圖像格式:縮略圖、中等大小、大型、完整或自定義格式大小。

該過程簡單,包含三個步驟。第一步是一個表單,可以輸入要查找的寬度,或使用橫槓(-)分隔的兩個寬度之間的間隔,最多相差100點。選擇性輸入自定義文章類型,或留空以使用“文章”文章類型。

在下一步中,顯示每個文章的匹配項目或多個匹配項目,舊的HTML代碼以灰色顯示,替換的代碼以黑色顯示,同時顯示新圖像。對於每個項目,都有一個復選框(默認已選中),如果結果錯誤或有異常,則可以取消選中。

最後,在列表末尾,提交按鈕可以執行這些更改。在進行最後一步之前,建議備份您的文章表。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Replace Content Image Size」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

For each image uploaded WordPress generates several versions with different sizes. These images will be inserted
in the post content using the visual editor selecting the right format size for the current theme, so that
images can be displayed correctly in the theme layout avoiding the overflow to the sidebars or another elements.
These images are now part of the content, and are harcoded in posts independently to any change in the design
or behavior of the blog.
Therefore, when switching your theme to another theme smaller, or the new theme is very big respect the old
layout, may be these images do not fit perfectly with the new design.
For these cases the purpose of this plugin is the searching in the post content of images with the old image sizes
(that result bad sizes for the current theme) and replace it for the right image format: thumbnail, medium, large,
full or custom format size.
The process is simple and consists of three steps. The first step is a form to introduce the width to find, or the
period between two widths separated by an hyphen (-) with max 100 points of difference. Optionally you can enter
a custom post type, or leave blank for the ‘post’ post type.
In the next step present the coincidence or multiple coincidences for each post, with the old html code in grey color,
and in black the replacement, and also the new image is displayed. For each item there is a checkbox (by default checked)
that you can uncheck if the result is wrong or an exception.
Finally, at the end of the list, a submit button can perform these changes. Before this final step, is advisable to
backup your posts table.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon