[WordPress] 外掛分享: Save as Image Plugin by Pdfcrowd

前言介紹

  • 這款 WordPress 外掛「Save as Image Plugin by Pdfcrowd」是 2019-09-08 上架。
  • 目前有 30 個安裝啟用數。
  • 上一次更新是 2025-04-09,距離現在已有 25 天。
  • 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.1 以上。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

pdfcrowd |

外掛標籤

image print | web to image | page snapshot | image conversion | Screenshot capture |

內容簡介

存成圖片外掛

這個「存成圖片」外掛很容易使用,只要安裝並啟用即可。外掛會在網頁上放置一個「存成圖片」按鈕,讓使用者可以在點擊按鈕後輕易地存取當前網頁,或只存取部分網頁內容,甚至是指定的頁面內容。

此外掛內部採用了 Pdfcrowd API 網路服務,這是一個專業解決方案,可供將網頁和HTML文件轉換為PDF和各種影像格式使用。

此外掛高度自訂化,您可以:

- 自訂按鈕樣式,文字和圖示
- 選擇「螢幕顯示」或「列印版面配置」(CSS @media)
- 轉換受密碼保護的頁面
- 轉換內含表單資料的頁面
- 創建互動式PDF表單
- 自訂影像格式、影像大小、比例因子、執行自訂JavaScript等等…

使用者可以在設定頁面上進行客製化調整。

短代碼

[save_as_image_pdfcrowd] 短代碼可在網頁上加入一個按鈕。點擊按鈕即可下載該頁面內容作為圖片。

[ block_save_as_image_pdfcrowd ] 短代碼則是只下載該區塊的內容作為圖片。欲自訂區塊樣式,可在方格短代碼內加入CSS樣式。

這些短代碼可以通過覆寫外掛設定頁面上的設定來客製化按鈕樣式和轉換輸出。

例如,若要將頁面設定為Letter頁面大小並建立一個紅色按鈕,請使用以下代碼:

[save_as_image_pdfcrowd page_size='letter' button_background_color='red']

使用PHP創建按鈕

您可以直接在您的PHP代碼中使用 create_save_as_image_pdfcrowd_button($options = array()) 函數來建立轉換按鈕。

例如:

按鈕CSS自訂

也可以透過設置 save-as-image-pdfcrowd-button-wrap 或 save-as-image-pdfcrowd-button 類的CSS屬性來自訂按鈕樣式。

例如:

.save-as-image-pdfcrowd-button {
font-family: Georgia;
}

輸出

輸出的影像可以直接下載或在瀏覽器中開啟。這可以透過「按鈕點擊操作」選項進行設置。

預設情況下,輸出文件名稱是自動生成的,也可以在自訂選項中指定,例如:

[save_as_image_pdfcrowd output_name='my-page.png' button_background_color='red']

支援和許可證

如需任何幫助,請聯繫[email protected]
我們建議您查看 常見問題。其中包含許多常見問題的答案。

Pdfcrowd API Playground 可以幫助您設定外掛,創建短代碼或函數呼叫。

此外掛預設在Demo模式下運行。雖然功能完善,但會在內容上放上 Pdfcrowd 品牌標誌和水印。如果您需要去除此顯示的話,可購買 Pdfcrowd API許可證。要啟用許可證,請在基本選項卡中輸入您的Pdfcrowd用戶名和API密鑰。

Pdfcrowd API許可證可以在多個WordPress平台下使用。

原文外掛簡介

The “Save as Image” plugin introduces a simple yet powerful feature to your WordPress site by adding a button that enables users to capture and save a screenshot of the current webpage as an image file. This provides the option to keep a visual record of your content and simplifies the process of capturing webpages without the need for external tools or software.
Features

One-Click Capture: Users can save a screenshot of the webpage with a single click.
Customizable Button: Tailor the button’s look and placement to fit the aesthetics of your site.
Versatile Image Support: Captures screenshots as high-quality image files, supporting various formats.
Shortcode Integration: Seamlessly add the ‘Save as Image’ button anywhere on your site using a shortcode.

Usage
Once activated, the “Save as Image” button will automatically appear on all eligible content according to your settings. Users can click this button to save a screenshot of the current page as an image file (e.g. PNG or JPEG).
To manually add the “Save as Image” button to specific pages or posts, use the following shortcode:
[save_as_image_pdfcrowd]
For additional methods of adding the button to your pages, please refer to the Getting Started Guide.
Customization
The plugin offers various customization options accessible through the WordPress admin panel. You can change the screenshot generation settings and button appearance. For more detailed customization, please refer to the plugin option reference.
Licensing
By default, the plugin operates in demo mode, which, while fully functional, adds a watermark and Pdfcrowd branding to the content.
To remove the demo watermark and Pdfcrowd branding, you can purchase an API license. Activate the license by entering your Pdfcrowd username and API key in the plugin settings under the License tab.
A Pdfcrowd API license is versatile, allowing use across multiple WordPress websites for our plugins. Additionally, the API license grants direct access to the Pdfcrowd API for a broader range of applications.
Basic Troubleshooting
If the default plugin output does not meet your requirements, consider adjusting the following settings individually. You may need to activate the “Expert Settings” option to access some of these features.

Mode > Conversion Mode: Try switching it to either “Upload” or “Content”.
Image Output > Screenshot Width: Experiment with different widths to see which yields the best result.

Support
Please contact us or write to [email protected] if you need any help. We will be happy to assist you with configuring the plugin to ensure its output meets your needs.
Plugin links:

Guide
Option Reference
FAQ

About us
The plugin is provided by Pdfcrowd, established in 2009 as a pioneer in the field of online conversion services. Over the years, we have served hundreds of thousands of users worldwide, constantly evolving our technology to meet the needs of our customers.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Save as Image Plugin by Pdfcrowd」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Mastodon