[WordPress] 外掛分享: Gravity Forms Image in HTML

首頁外掛目錄 › Gravity Forms Image in HTML
100+
安裝啟用
★★★★★
5/5 分(2 則評價)
4451 天前
最後更新
問題解決
WordPress 3.0+ v1.0 上架:2013-10-17

內容簡介

此外掛是為了 Gravity Forms Plugin 而設計的擴充。

您需要將圖片插入到 Gravity Forms HTML 欄位中嗎?討厭手動上傳和創建標籤嗎?我也是!這就是我為 Gravity Forms 創建了這個簡單的外掛,它為 Gravity Forms 表單編輯器中的每個 HTML 欄位添加了一個按鈕。點擊按鈕,使用標準的 WordPress 媒體上傳工具插入或上傳圖像。

使用方法:
1. 在表單中添加 HTML 欄位。
2. 點擊新的「插入圖像」按鈕。
3. 上傳新圖像或選擇現有圖像。
4. 作為游標位置,在 HTML 欄位中插入標籤。

重要注意事項:
我為每個標籤添加了一個屬性:

style="max-width:100%"

這可防止大型圖像破壞表單。您可以輕鬆從插入中刪除它,但如果您不刪除它也不會影響任何事情。

自由發揮:https://github.com/ethanpil/gravity-forms-image-in-html

本 WordPress 外掛是由 洛杉磯網頁設計 提供的。

未來計畫:
1. 添加對 Gravity Forms WYSIWYG 的支援 - https://wordpress.org/plugins/gravity-forms-wysiwyg/

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin is an add-on for the Gravity Forms Plugin.

Do you need to insert images into Gravity Forms HTML fields? Hate manually uploading and creating tags? Me too! Thats why I created this simple plugin for Gravity Forms which adds a button to every HTML field in the Gravity Forms form editor. Click the button and insert or upload an image using the standard WordPress media uploader.
Usage:
1. Add an HTML field to your form.
2. Click the new “Insert Image” button.
3. Upload a new image or select an existing image.
4. The tag is inserted into the HTML field at the position of the cursor.
Important Notes:
I added an attribute to every tag of:
style="max-width:100%"

This prevents large images for breaking the forms. You can easily remove it from the insert, but it shouldn’t break anything if you leave it.
Fork away: https://github.com/ethanpil/gravity-forms-image-in-html
This WordPress plugin is brought to you by Los Angeles Web Design
Future Plans:
1. Add Support for Gravity Forms WYSIWYG – https://wordpress.org/plugins/gravity-forms-wysiwyg/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon