Log start: Sat, 13 Apr 2024 18:37:26 +0000 BSI version: 1.1.3 BSI revision date: Sat, 13 Apr 2024 17:00:20 +0000 Start memory usage: 38M — image generation — BSI Debug log for https://ingenioradioimagen.com.ar/social-image.jpg/ Selected post_id: 5829 Page is home (latest posts), post_id set to 0 URI = Homepage BSI; /social-image.jpg/ Using post_id for front-page: 2091 Image consideration: meta; no image found Image consideration: WordPress Featured Image; no image found Image consideration: BSI Fallback Image; no image found Image determination: ID before filter bsi_image; no image found Image determination: ID after filter bsi_image; no image found Image selected: Cache ignored because of debug=BSI flag Sorry, could not find an OG Image configured. Peak memory usage: 38M — active plugins — 1: query-monitor/query-monitor.php 2: unlimited-elements-for-elementor/unlimited_elements.php 3: advanced-ads-adsense-in-feed/advanced-ads-in-feed.php 4: advanced-ads-gam/advanced-ads-gam.php 5: advanced-ads-layer/layer-ads.php 6: advanced-ads-pro/advanced-ads-pro.php 7: advanced-ads-responsive/responsive-ads.php 8: advanced-ads-slider/slider.php 9: advanced-ads-sticky-ads/sticky-ads.php 10: advanced-ads/advanced-ads.php 11: all-in-one-seo-pack-pro/all_in_one_seo_pack.php 12: all-in-one-seo-pack/all_in_one_seo_pack.php 13: amp/amp.php 14: branded-social-images/wp-plugin.php 15: breadcrumb-navxt/breadcrumb-navxt.php 16: burst-statistics/burst.php 17: capabilities-pro/capabilities-pro.php 18: cf7-antispam/cf7-antispam.php 19: classic-editor/classic-editor.php 20: classic-widgets/classic-widgets.php 21: code-snippets/code-snippets.php 22: coming-soon/coming-soon.php 23: complianz-gdpr-premium/complianz-gpdr-premium.php 24: contact-form-7/wp-contact-form-7.php 25: elementor-pro/elementor-pro.php 26: elementor/elementor.php 27: envato-market/envato-market.php 28: essential-addons-for-elementor-lite/essential_adons_elementor.php 29: fifu-premium/fifu-premium.php 30: flamingo/flamingo.php 31: flexible-elementor-panel/flexible-elementor-panel.php 32: google-site-kit/google-site-kit.php 33: hivepress-claim-listings/hivepress-claim-listings.php 34: hivepress-favorites/hivepress-favorites.php 35: hivepress-geolocation/hivepress-geolocation.php 36: hivepress-messages/hivepress-messages.php 37: hivepress-paid-listings/hivepress-paid-listings.php 38: hivepress-requests/hivepress-requests.php 39: hivepress-reviews/hivepress-reviews.php 40: hivepress-tags/hivepress-tags.php 41: hivepress/hivepress.php 42: iframe/iframe.php 43: image-optimization/image-optimization.php 44: instagram-feed/instagram-feed.php 45: jetpack/jetpack.php 46: location-weather/main.php 47: pixwell-core/pixwell-core.php 48: pixwell-deal/pixwell-deal.php 49: post-featured-video/post-featured-video-plugin.php 50: post-views-counter/post-views-counter.php 51: premium-addons-for-elementor/premium-addons-for-elementor.php 52: premium-addons-pro/premium-addons-pro-for-elementor.php 53: publishpress-future-pro/publishpress-future-pro.php 54: q2w3-fixed-widget/q2w3-fixed-widget.php 55: really-simple-ssl-pro/really-simple-ssl-pro.php 56: regenerate-thumbnails/regenerate-thumbnails.php 57: royal-elementor-addons/wpr-addons.php 58: simple-weather/simple-weather.php 59: social-auto-poster/social-auto-poster.php 60: sticky-header-effects-for-elementor/sticky-header-effects-for-elementor.php 61: templately/templately.php 62: wen-featured-image/wen-featured-image.php 63: whatsapp-for-wordpress/whatsapp.php 64: wordpress-importer/wordpress-importer.php 65: wp-automatic/wp-automatic.php 66: wp-change-default-email/wp-change-default-email.php 67: wp-mail-smtp-pro/wp_mail_smtp.php 68: wpcf7-redirect/wpcf7-redirect.php — php/wp functions — mime_content_type: exists finfo_open: exists wp_check_filetype: exists exec: does not exist shell_exec: does not exist passthru: does not exist system: does not exist — php settings — memory_limit: 512M max_execution_time: 300 — end of log —
Espero puede ayudarme. Gracias,
]]>I get various error in the browser console with the classic editor:
Uncaught TypeError: (intermediate value).match is not a function
jQuery 5
n /wp-content/plugins/branded-social-images/admin/admin.min.js?ver=1690466100:1
jQuery 2
Overall the plugin does what I need, however, because you cannot adjust the name of the image, facebook refuses to refresh the image. Here is the metatag:
<meta property="og:image" content="https://thebluethingy.com/social-image.jpg/">
It would help if we had the option of changing the filename from “social-image.jpg” to anything else. I changed the image and facebook will not release it’s cached “social-image.jpg”.
For now, I ended up adjusting the following line in branded-social-images\lib\class.og-image-plugin.php
myself.
const BSI_IMAGE_NAME = 'social-image';
Thanks for the effort.
]]>Hello, can you help me?
There is no logo in social image.
]]>Hi! It’s absolutely awesome plugin you made! Have a question — how to place my thumb align at right coner with full height (and not weight as it is now).
Another question — is it possible (how it possible) to add 2 logos on og.
Hi, in your changelog you say:
Please note that this test version will NOT be supported via www.ads-software.com, only on github.
https://www.ads-software.com/plugins/branded-social-images/#developers
Could you please open the issue queue over on Github for findings on v2.0.0?
]]>Hi there, would be nice if there is a function to use the generated image as featured image.
Additional it would be nice to change the image size to other formats.
Thanks for the plugin
Cheers Peer
Hey! Great plugin, but I can’t figure out how to remove it so that the site name is not added to the {title}?
Thanks!
]]>Image “social-image.jpg” is empty file.
]]>Hello, I’ve tried a few variations, but the logo is always missing. I see the logo on the settings page at the top, but when viewed on an actual page it isn’t there. Using a transparent png. Where would I start to debug?
]]>Hi there! Awesome plugin. I like the simplicity. Saved me a ton of time trying to come up with something custom. Greatly appreciated.
I have everything configured but for some reason the images aren’t showing up. I checked opengraph.xyz and all is fine except the image. Upon visiting the image URL directly it downloads a 0 byte image. I tried in both Staging and Production. I tried on a CPT and also a standard WordPress Page. I cleared cache and saved Permalinks.
In the error logs I see: “PHP Warning: imagejpeg() expects parameter 1 to be resource, bool given in /var/web/staging/public_html/wp-content/plugins/branded-social-images/lib/class.og-image-gd.php on line 333”
I will keep investigating in the meantime and update this thread, but would love to know if you have a solution! Thanks.
If relevant…
Host: WPMUDEV
PHP version: 7.4
End of log:
-- active plugins --
1: ac-addon-acf/ac-addon-acf.php
2: admin-columns-pro/admin-columns-pro.php
3: advanced-custom-fields-pro/acf.php
4: baho-setup/baho-setup.php
5: branded-social-images/wp-plugin.php
6: contact-form-7/wp-contact-form-7.php
7: fathom-analytics/fathom-analytics.php
8: flamingo/flamingo.php
9: fluent-smtp/fluent-smtp.php
10: kadence-blocks/kadence-blocks.php
11: wp-defender/wp-defender.php
12: wpmudev-updates/update-notifications.php
-- php/wp functions --
mime_content_type: exists
finfo_open: exists
wp_check_filetype: exists
exec: does not exist
shell_exec: does not exist
passthru: does not exist
system: does not exist
-- php settings --
memory_limit: 256M
max_execution_time: 300
-- end of log --
]]>
Hi, do you have plans to offer a square 1080x1080px option for Instagram? It would be great to have branded images with post titles ??
]]>I am facing this issue, already posted 4 months ago:
https://www.ads-software.com/support/topic/does-plugin-work-with-custom-post-types/
since the initial post was not answered, i am wondering if there any solution ?
]]>1. One of the post metabox fields that BSI adds has this prompt:
“Deselect if you do not wish text on this image.”
This is a double-negative, which makes it difficult to understand. Having a positive message, such as
“Display text on image”
(checked by default, as currently) would be clearer.
2. The other has this prompt:
“Select to disable the plugin Branded Social Images for this post.”
There is no need to say “Select…”, as this is a known convention (see everywhere else in the WP admin).
Prompting:
“Disable Branded Social Images for this post”
achieves the same effect while being shorter.
Thanks for a great plugin!
]]>I’ve tried to use BSI with a right-to-left language. What it gets right:
What it gets wrong:
It would be great to have RTL support, whereby BSI picks up the language/direction of the page/post it’s running on and renders its output accordingly.
]]>Here’s the problem I am having: I published a post and it was instantly shared to Facebook. For some reason, WordPress flaked out and while the content of my post was fine, the Featured Image (and a few SEO things) I specified did NOT save to the post when I published it. As a result, the “default / fallback” image I’ve specified in RankMath was used by BSI.
I quickly re-added the specific Featured Image I wanted for this post and updated the post, but Facebook already cached the original og:image URL, so even if I rescrape the post’s URL, Facebook refuses to recognize the new image.
According to Facebook’s support pages, this is intentional — the only way to force FB to recognize image changes is to “Use a new URL for the new image or the image won’t be updated.”
The problem is, I can’t change the URL of the image BSI outputs. But rather than asking for an option to change image filenames, I think there may be a better option:
People with similar issues on StackOverflow got some responses suggesting that a random string be added at the end of the URL. So instead of the default BSI image URL ending in social-image.jpg/
could the plugin be changed to something like social-image.jpg/<strong>?v=<?php echo rand() ?></strong>
or maybe instead of a random number, it could just be a timestamp or even some kind of number that would just increment every time the post is saved?
The suggestion was that adding a random number after the URL (a number that would be updated each time the post is re-published) would “trick” Facebook into thinking there’s a different image URL, so rescraping would result in the correct image being displayed, rather than the original one. And since it’s just a random string that doesn’t affect the URL itself, it wouldn’t have any harmful impact on previously-shared links.
This would be helpful for two reasons:
Another person on StackOverflow suggested that the og”updated_time tag would force Facebook to also update the image, but my posts already have this OG tag included and Facebook is not seeing any changes — because the og:image URL never changed, only the image itself changed. In order for Facebook to “see” the new image, it needs to be fed a different URL for the og:image.
I wanted to edit the plugin to try this for myself before filing a request, but my coding skills are fairly limited. I tried to find the appropriate code that would need to be adjusted to test this theory out, but I was having doubts. Hopefully someone else — whether it be the developers or fellow users — might have a better idea of which line(s) of code could be adjusted to see if this would work. If I know what to adjust, I’d be happy to try it myself and report back on the results.
]]>Sucuri Security server-side scanner is showing a warning for the file
wp-content/plugins/branded-social-images/lib/class.og-image-plugin.php
with the reason given as php.malware.injector.075
.
Do you folks have any insight as to why that might be happening? Is there a potential loophole in your code that could be putting websites at risk?
]]>Great plugin, but we can’t use it in our language, fonts don’t show specific letters: ??????ū?
All of these letters are in Latin, expanded with Google fonts.
Second problem: the logo is too close to the left edge when we use the logo position at the top left
]]>I’ve created a post of a custom post type. When I try to check the social image created by this plugin (at the usual place, /{post slug}/social-image.jpg
), I get redirected to the post.
Is Branded Social Images intended to work with custom post types?
]]>Hi there, great plugin!
I’m using Yoast with a WPGraphql for a headless wordpress site. Is there a hook to get the URL for the generated image so I can include it in my graphql schema to access on the front end?
Thanks
]]>Is it possibile to extend the usage of the plugin on taxonomies like tags, categories or custom taxonomies? I use them a lot, and it seems Branded Social Images won’t work in these cases
]]>Hi,
there’s a way to add dinamically the title of article in the social image?
Thank you ??
]]>Bye! I have a suggestion, could you add the possibility to use a different photo format in the plugin? Because I’d like to use it for Instagram and Pintrest too.
Thanks! You are great!
]]>Hello,
I use rank math SEO, how can I use the images of this plugin?
]]>Installed on my blog and I have tons of featured images that doesn’t suit very good with this the new image generated.
It is possible to have a global flag to disable that behaviour?
The plugin is pretty good but it needs two minor fixes
1. Move the top level menu item, this is extremely annoying and unjustified
2. More the post panel to the side, niot the bottom. The current situation is unjustifed and breaks a semi standard that si developing in the wordpress community