[WordPress] 外掛分享: Image Resizer On The Fly

首頁外掛目錄 › Image Resizer On The Fly
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
30+
安裝啟用
尚無評分
5068 天前
最後更新
問題解決
WordPress 3.0.+ v1.1 上架:2012-05-30

內容簡介

這個外掛可以透過簡碼幫助您調整圖片大小至不同尺寸。您不再需要更新縮圖大小設定並重新上傳所有圖片。這個外掛可以讓您無限制調整圖片大小。

如何使用

[image-resize width=100 height=100 ref=w default=your_default_image.png]

參數:
width: (必填) 圖片寬度,使用像素 (px)

height: (必填) 圖片高度,使用像素 (px)

Ref: (選填) 如果要設定寬度參考,輸入"w";如果要設定高度參考,輸入"h"。如果不設定則代表圖片長寬比例不變。

default: (選填) 預設圖片路徑。當您的文章中沒有設定特色圖片時,會顯示預設圖片。

您可以在文章或頁面內使用簡碼。

如果要在主題模板中使用,您可以使用 WordPress 的 do_shortcode 函數,例如:

<?php do_shortcode(‘[image-resize width=100 height=100 ref=w default=your_default_image.png]’); ?>

在主題模板中使用時,需放置在文章迴圈之內。

如有任何問題,請在支援區提出。

外掛標籤

開發者團隊

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

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

原文外掛簡介

With the help of the shortcode, this plugin helps you to resize your image in different size. You never need to update your thumbnail size settings and re-upload all the image as you used to do before. It gives you the unlimited limitation for image resize.
How To Use
[image-resize width=100 height=100 ref=w default=your_default_image.png]
Parameters:
width: (required) Width of the image in px
height: (required) Height of the image in px
Ref: (optional) w if you want the width reference, h for height reference. No ref parameter means you will have image with maintained ratio.
default: (optional) Your default image path. The default image is shown when you don’t have featured image in your post.
You can use the shortcode in your post,page content area.
For using in templates, you can use the wordpress do_shortcode function. Like:

While using in templates, it must be inside the post loop.
If you have any queries do write in the support section.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon