Linux 软件免费装
Banner图

Branded Social Images - Open Graph Images with logo and extra text layer

开发者 clearsite
acato
更新时间 2024年5月17日 17:33
PHP版本: 7.4 及以上
WordPress版本: 6.2.2
版权: GPLv2 or later
版权网址: 版权信息

标签

featured image watermark logo open graph social image open-graph facebook image OG-image Open Graph Image OG Image branded

下载

1.0.22 1.0.3 1.0.4 1.0.6 1.0.7 1.0.1 1.0.10 1.0.13 1.0.14 1.0.9 1.0.0 1.0.15 1.0.5 1.0.16 1.0.17 1.0.18 1.0.19 1.0.8 1.0.11 1.0.2 1.0.20 1.0.21 1.0.12 1.1.0 1.1.1 1.1.2 1.1.3

详情介绍:

Branded social images (open graph images) in just a few clicks. This plugin creates branded social images to match with your company’s style. Including a company logo and title. These open graph images can either be auto-generated for the entire site or you have the option to overrule this per page/post. Works with every (public) post-type in WordPress!

安装:

Installation is as easy as
  1. In the plugins panel of your website click the "Add New"
  2. Find the plugin in the list by typing "Branded Social Images"
  3. Click Install and follow up with Activate Manual installation is almost as easy
  4. Click the "Download" button on the right
  5. In the plugins panel of your website click the "Add New" and "Upload Plugin"
  6. Upload the ZIP downloaded in step 1
  7. Activate the plugin. Please note: This plugin requires the GD2 library to be installed This is usually the case. If not, contact your hosting company or internet agency.

屏幕截图:

  • The settings panel.
  • Post-meta

升级注意事项:

0.0.2 This version renames all option keys and is therefore not backward compatible. 0.0.1 Internal proof of concept

常见问题:

Does this plugin work with third party plugins like Yoast etc.?

For existing pages/posts, this plugin will take the title from the page as it is created by ANY SEO-plugin, and if you want, you can change it. And if you have used Yoast-SEO to choose an OG:Image, this plugin will use it as well.

How do I configure the plugin?

After installing the plugin, go to the "Branded Social Images" configuration page and set your fallback image, font, -color and -size, add your logo, and you are done.

How do I add my own fonts?

To use your own font, you need a .TTF (True Type Font) or .OTF (OpenType Font) file. You can get this from any source you wish, just make sure it is an ordinary font (Google's variable fonts will not work). Upload the font with the "Upload custom font" feature.

Does the plugin work with international character sets like Kanji (Chinese, Japanese, etc.)?

Yes, it does, but you have to make sure you upload the appropriate font. If you see "empty square" or "square with a cross" symbols in the image, your font is not compatible.

Is the plugin MultiSite compatible?

Yes and no. The plugin can be installed without problems in a MultiSite environment and can be activated per site or network-wide, but the settings are not network-wide. Although this might be a feature for a future version; there currently is no way to set-up Branded Social Images in one single place for the entire network.

Is the plugin WPML compatible?

Yes, as long as your font supports the languages. The supplied fonts are "Western" only. If you need character sets for languages like Korean or Japanese, you need to upload an appropriate font.

Your plugin is not the first I've seen, why bother creating this plugin?

The plugins we've seen all use an external service to generate the images, or are very complex to use. We aim for a simple, elegant solution that is completely self-contained.

Does Branded Social Images use external services?

For image generation; NO. The plugin is self-contained in that manner. The plugin does use external services, namely the following, and only once after install or update.

  1. Google Fonts - to download a set of sample fonts for you to use (on install or loss of cache folder),
  2. Google APIs - to download image conversion software for converting WEBP to PNG so the images can be used by GD2 (on install and on update). Number 2 might fail silently, resulting in not being able to use WEBP, but this will in no way affect the plugin itself when using PNG and JPEG.

I am using plugin XYZ for SEO and your plugin does not use the selected image or configured text, what can I do?

You can set-up Branded Social Image on every post/page manually, but an automatic solution is always possible. You can use WordPress filters to influence the text- and image selection process;

  1. Filter bsi_text with parameters $text, $post_id and $image_id
  2. Filter bsi_image with parameters $image_id and $post_id

I don't like the plugin to live in the main admin menu.

With WordPress filter bsi_admin_menu_location you can move the entry to the Settings menu. Just return any value other than 'main'.

I want to use a smaller, sidebar version of the post-meta

Use filter bsi_meta_box_context to change the meta-box position, return either advanced, side or normal. Beware that the side option makes the meta-box very small and with that less usable. In a classic-editor environment, dragging the metabox to the sidebar (or back) is possible.

In version 1.0.14, the output format changed from PNG to JPG, now my images don't work anymore.

While the plugin has code to migrate, obviously in your case it failed. Sorry about that. To remedy the situation, perform 2 steps;

  1. Go to your permalinks settings and click the save button. No need to change anything, just go there and hit save.
  2. Purge the BSI cache using the purge cache button on the bottom of the BSI settings panel.

In version 1.0.14, the output format changed from PNG to JPG. I don't want that, can I switch back to PNG?

Yes you can. use filter bsi_settings_output_format to change it; add_filter('bsi_settings_output_format', function() { return 'png'; });

The quality of the output image is not high enough, the output image size is too large. What can I do?

By changing the quality-level of the output image, you can reduce the filesize, or increase the sharpness of the image. Use filter bsi_settings_jpg_quality_level and return a number between 0 and 100, 100 being best quality, 75 being the default. If you set the output to PNG, use filter bsi_settings_png_compression_level and return a number from 0 to 9, 2 being the default.

Can I assist with translating the plugin?

Absolutely! A .pot template can be found in the GitHub repository

Something isn't working properly. Can you help?

Sure! Go to the support forum and create a new request. Please include as much information as you feel comfortable with, just make sure you do not reveal information that could lead to unauthorized access to your website. Do NOT send us your logins, password etc. If you have problems with a specific image, please generate a log and include it in your support ticket (take the url to the social-image, add ?debug=BSI to it). If you do not see the log on-screen, you can find it in the BSI settings panel. If you don't want to share this information publicly, send us an e-mail referencing the support ticket. When in doubt, contact us before sharing.

更新日志:

1.1.3 1.1.2 1.1.1 1.1.0 1.0.22 1.0.21 1.0.20 1.0.19 1.0.17 1.0.16 1.0.15 1.0.14 1.0.13 1.0.12 1.0.11 1.0.10 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0 0.1.0 Last tweaks and polish before shipping to WordPress 0.0.9 0.0.8 0.0.7 0.0.6 0.0.4 0.0.3 0.0.2 0.0.1