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

Changelog

1.1.5

  • Fix more float-to-int issues.
  • Missing font (font file deleted or moved) resulted in error-log-spam, fallback to default font now in place.
  • Added PatchStack for responsible disclosure of security vulnerabilities.

1.1.4

  • Fix the title-updater in the BSI editor – in some cases the “empty” title was uFEFF, a zero-width space character.
  • Fix a few PHP warnings regarding integers expected but floats given, empty values and GLOB_BRACE not being available on all installations.
  • Thank you Borkweb for your contributions to the plugin!

1.1.3

  • Fix division by zero error in the rare case that a font file has gone missing.

1.1.2

  • Fix issue with missing admin icon.
  • Fix error log spam on PHP8.

1.1.1

  • Fix CVE-2023-28536

1.1.0

  • Important message
  • Acato has recently acquired the Web Agency that created this plugin. You will see this name in the plugin code (Clearsite) but this will change in the future.
  • This version (1.1.0) will be the last backward compatible version of the plugin, version 2.0.0 will be released sometime this year (probably november) that may or may not break your website.
  • Please DO NOT upgrade this plugin on a live, production website to version 2.0.0 before you have done ample testing. You can find a test version on github in the branch ‘version-2.0.0’.
  • Please note that this test version will NOT be supported via WordPress.org, only on github. If you want to help with the development, make a fork and submit pull-requests.

1.0.22

  • fixed: fatal error due to strong typing of function OGImage::getWidthPixels() ( PHP Fatal error: Uncaught TypeError: Return value of ClearsitePluginsOGImageGD::getWidthPixels() must be of the type int, float returned )

1.0.21

  • fixed: shutdown function not always triggered, leaving a stray lock file after building an image. lock file now removed just before serving the image after building.

1.0.20

  • added: filter bsi_image_url added to allow filtering of the final output OG:Image url.

1.0.19

  • fixed: more protection on functions that might not exist and a try/catch does not prevent crashing

1.0.17

  • fixed: editor issues with colors fixed; sprintf for formatting floats was set to locale aware. oops.

1.0.16

  • fixed: in some cases, the {title} placeholder gets stored in the post-meta and appears in the generated image. This should not happen as the {title} placeholder is replaced while editing.
  • cleanup: lot of code cleaned up, comments added
  • removed: some code suggested support for webp output (instead of png or jpg) but as Facebook and LinkedIn (and probably more) platforms do not support webp for og:image, no reason to try to generate it.

1.0.15

  • fixed: some users report “function mime_content_type does not exist”. This function should exist and indicates a broken/misconfigured server. To accommodate, fallback functions are in place.

1.0.14

  • warning: Only install this version if your host has the “magic mime” extension properly configured (function mime_content_type exists)
  • important change: Switch from PNG output to JPG output. The reason is disk-space usage; the JPG takes only a fraction of the disk space and has practically the same quality. See the FAQ for more information.
  • fixed: showing debug information leaves image cache in locked state, preventing (re-)generation of image.
  • improved: interface will now scale on small displays.
  • changed: for new posts, title is automatically filled based on ‘{title} – {blogname}’.
  • changed: overhaul of javascript and style.
  • added: @developers; For debugging, set BSI_UNMINIFIED to true. Script and style will be more readable.
  • added: Last generated debug log (with ?debug=BSI on image url) will be shown in the admin panel. If you have problems with an image, please include this information in your support ticket.

1.0.13

  • fixed: in WPML folder-per-language installation, the language folder is duplicated in the social-image-url
  • fixed: some themes make all links relative, this breaks the admin-bar link to OpenGraph.xyz
  • changed: action bsi_image_gd now includes two extra parameters: $post_id and $image_id
  • added: action bsi_image_editor with 1 parameter; $stage, in 4 stages of displaying the editor (after_creating_canvas, after_adding_background, after_adding_text and after_adding_logo) for future expansion of the editor

1.0.12

  • added: interface now recognises RankMath image selection
  • added: action bsi_image_gd with 2 parameters; &$resource and $stage, in 4 stages of the image generation (after_creating_canvas, after_adding_background, after_adding_text and after_adding_logo)
  • fixed: replace image with BSI in RankMath LD+JSON
  • fixed: BSI image url not always used by RankMath
  • added: debug information for administrators on url.to/post/social-image.png/?debug=BSI
  • added: admin option to purge BSI cache

1.0.11

  • improved: Meta panel improved layout
  • improved: interface texts and elements made more clear
  • fixed: oembed still showed a social image even if none was available

1.0.10

  • updated: translations updated.
  • added: filter bsi_admin_menu_location to change the menu-position (main for main-menu, any other value moves Branded Social Images to the Settings menu).
  • added: filter bsi_meta_box_context to change the meta-box position (either ‘advanced’, ‘side’ or ‘normal’). Beware that the ‘side’ option makes the meta-box very small and with that less usable.

1.0.9

  • added: oEmbed data is now also patched to use the correct OG:Image. This will please Facebook and LinkedIn.
  • changed: set og:image url to a full URL instead of a relative one. Facebook made a big deal of this.
  • fixed: Selecting a featured image shows it in the Meta-box interface, but now also in the correct position.

1.0.8

  • removed: removed scraping title/og:title by using wp_head(). It often does not work or even reports wrong data. how? why? don’t know.
  • fixed: scraping title/og:title was broken in meta panel, displaying wrong title

1.0.7

  • fixed: scraping of og:title was broken

1.0.6

  • fixed: meta box not showing in classic editor

1.0.5

  • fixed: title detection does not always work.
  • fixed: custom post types now supported without implementing a filter
  • added: support for post-type-archives; fallback image and text are used. (For developers: implement filter bsi_text if you want something else)
  • rebuilt: visual text editor did not respond well to pasting text and “undo” did not work. editor has been rebuilt. please report issues using the support tab.

1.0.4

  • added: protection against font-stealing; the BSI Storage directory is now protected from outside access.
  • fixed: missing text-background layer in post-meta interface
  • removed: cache-debugging removed. BSI image cache is cleared when a post is saved. (For developers: You can bypass caching with WP_DEBUG enabled)

1.0.3

  • fixed: html entities in scraped title decoded
  • fixed: php error regarding non-static method called statically

1.0.2

  • fixed: url to support page
  • added: support homepage when it is not a page but the index of all posts ( is_home() )

1.0.1

  • fixed: dummy logo showing up on post-meta
  • fixed: title not detected when html-attributes are used in the title-tag
  • fixed: urls in plugin meta data corrected

1.0.0

  • First public release to wordpress.org

0.1.0

Last tweaks and polish before shipping to WordPress

0.0.9

  • more code cleanup
  • more code documentation
  • font-rendering tweak ‘text-area-width’ is now a factor instead of a new value.

0.0.8

  • code cleanup
  • code documentation

0.0.7

  • Added .otf support

0.0.6

  • Bugfixes and changes as per brainstorm session october 2021
  • First round of code-hardening
  • New icon

0.0.4

  • Bugfixes per third user-test

0.0.3

  • Many interface changes to reflect the results of the second user-test

0.0.2

  • Major overhaul of all code
  • Renaming everything to reflect the chosen name of the plugin: Branded Social Images

0.0.1

  • Proof of concept

Plugin Website
Visit website

Author
Acato
Version:
1.1.5
Last Updated
April 3, 2026
Active Installs
900
Requires
WordPress 4.7
Tested Up To
WordPress 6.9.4
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.