Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: njtweb - kesäkuu 07, 2019, 04:04:08 IP

Otsikko: Theme default image size question
Kirjoitti: njtweb - kesäkuu 07, 2019, 04:04:08 IP
Does anybody have a specific default image size that works for them when posting topics to FB or Twitter? Seems it's hit or miss whenever I post to either social media platform. Almost all the time Twitter posts the generic "no image" image next to the post. FB typically posts whatever image it finds first on the site more often than not, which is my menu "home" icon instead of choosing the first image in the topic post.

I've tried everything and have no consistency whatsoever. Does anybody use a specific default image size for topic posts that works ALL the time for both?

Thank you
Otsikko: Re: Theme default image size question
Kirjoitti: vbgamer45 - kesäkuu 07, 2019, 04:05:05 IP
I would use like an open graph mod like optimus brave. It sets the correct open graph tags for topics/posts.
Otsikko: Re: Theme default image size question
Kirjoitti: njtweb - kesäkuu 07, 2019, 05:37:57 IP
Lainaus käyttäjältä: vbgamer45 - kesäkuu 07, 2019, 04:05:05 IP
I would use like an open graph mod like optimus brave. It sets the correct open graph tags for topics/posts.

I'm using that. I have both my open graph and twitter app ID's set to it and have always. I have a wordpress site too and I have the OG and App ID's for that site configured in the SEO mod there. Every single post posts with the image correctly every time.
Otsikko: Re: Theme default image size question
Kirjoitti: GigaWatt - kesäkuu 08, 2019, 03:43:34 AP
Lainaus käyttäjältä: njtweb - kesäkuu 07, 2019, 04:04:08 IP
FB typically posts whatever image it finds first on the site more often than not, which is my menu "home" icon instead of choosing the first image in the topic post.

Actually, I sometimes post topics from my forum on FB and this has never happened to me ???. Yes, it picks the first pics it can find, but only from the topic, not from the site/forum.

But, if you're referring to attachments, yes, it doesn't work with attachments :-\.
Otsikko: Re: Theme default image size question
Kirjoitti: njtweb - kesäkuu 08, 2019, 11:26:57 AP
Facebook used to post my attachments, Twitter never does. Very strange how picks and chooses with SMF, but with Wordpress it always takes the post image on both FB and Twitter.
Otsikko: Re: Theme default image size question
Kirjoitti: GigaWatt - kesäkuu 08, 2019, 12:58:39 IP
Well, it doesn't work with attachments on my forum... maybe because I've got thumbnails disabled, so it doesn't actually recognize the attachments as media files... don't know.
Otsikko: Re: Theme default image size question
Kirjoitti: njtweb - kesäkuu 08, 2019, 01:18:04 IP
Lainaus käyttäjältä: GigaWatt - kesäkuu 08, 2019, 12:58:39 IP
Well, it doesn't work with attachments on my forum... maybe because I've got thumbnails disabled, so it doesn't actually recognize the attachments as media files... don't know.

I'm using Dougiefresh's inline image attachments mod. I actually insert the images sometimes when I don't have the time to upload them to my server.
Otsikko: Re: Theme default image size question
Kirjoitti: vbgamer45 - kesäkuu 08, 2019, 01:20:03 IP
Can you share link to a topic or post that does not get shared correctly.
Otsikko: Re: Theme default image size question
Kirjoitti: njtweb - kesäkuu 09, 2019, 01:48:02 IP
Lainaus käyttäjältä: vbgamer45 - kesäkuu 08, 2019, 01:20:03 IP
Can you share link to a topic or post that does not get shared correctly.

Sure thing. Thanks for taking a look.

https://www.youthhockeyinfo.com/index.php?topic=1200
Otsikko: Re: Theme default image size question
Kirjoitti: lurkalot - kesäkuu 09, 2019, 02:16:57 IP
Lainaus käyttäjältä: njtweb - kesäkuu 09, 2019, 01:48:02 IP
Lainaus käyttäjältä: vbgamer45 - kesäkuu 08, 2019, 01:20:03 IP
Can you share link to a topic or post that does not get shared correctly.

Sure thing. Thanks for taking a look.

https://www.youthhockeyinfo.com/index.php?topic=1200

This OG stuff is totally beyond my understanding.  Take a search on Google regarding Open graph grabbing the wrong image, there's a multitude of articles on there about this.  How you get around it though I'm not sure.. Hopefully someone here will come up with a solution.

Regards

Mick
Otsikko: Re: Theme default image size question
Kirjoitti: njtweb - kesäkuu 09, 2019, 02:32:04 IP
Lainaus käyttäjältä: lurkalot - kesäkuu 09, 2019, 02:16:57 IP
Lainaus käyttäjältä: njtweb - kesäkuu 09, 2019, 01:48:02 IP
Lainaus käyttäjältä: vbgamer45 - kesäkuu 08, 2019, 01:20:03 IP
Can you share link to a topic or post that does not get shared correctly.

Sure thing. Thanks for taking a look.

https://www.youthhockeyinfo.com/index.php?topic=1200

This OG stuff is totally beyond my understanding.  Take a search on Google regarding Open graph grabbing the wrong image, there's a multitude of articles on there about this.  How you get around it though I'm not sure.. Hopefully someone here will come up with a solution.

Regards

Mick

But the weird thing is, I can make that same post on my wordpress site and the image will post to both Twitter and FB fine.
Otsikko: Re: Theme default image size question
Kirjoitti: vbgamer45 - kesäkuu 09, 2019, 03:28:25 IP
The open graph set for that page is set to this image
https://www.youthhockeyinfo.com/Themes/default/images/thumbnail.gif
Otsikko: Re: Theme default image size question
Kirjoitti: njtweb - kesäkuu 09, 2019, 04:33:01 IP
Lainaus käyttäjältä: vbgamer45 - kesäkuu 09, 2019, 03:28:25 IP
The open graph set for that page is set to this image
https://www.youthhockeyinfo.com/Themes/default/images/thumbnail.gif

Correct, optimus makes you use an OG image path in the settings. It will default to that or the "Home" icon on my site menu when FB doesn't recognize the first image in a topic. Which is almost every single time. Check this link, this does work on both FB and Twitter. It's so strange because it's like they pick and choose when they want to post a topic image. But like I said, my wordpress site ALWAYS posts the featured image, every single time. I've never had a post to FB or Twitter not post the image.

https://www.youthhockeyinfo.com/index.php?topic=1193
Otsikko: Re: Theme default image size question
Kirjoitti: vbgamer45 - kesäkuu 09, 2019, 05:53:08 IP
It seems like a mod in the bug in not picking up the linked image/attachment
Otsikko: Re: Theme default image size question
Kirjoitti: njtweb - kesäkuu 09, 2019, 07:30:21 IP
Lainaus käyttäjältä: vbgamer45 - kesäkuu 09, 2019, 05:53:08 IP
It seems like a mod in the bug in not picking up the linked image/attachment

And unfortunately Optimus is the only SEO mod there is for SMF which Bugo seems to have distanced himself from almost entirely. If not entirely.
Otsikko: Re: Theme default image size question
Kirjoitti: njtweb - kesäkuu 10, 2019, 08:06:43 AP
I made a post today and posted to both Twitter and FB, low and behold the images work. So frustrating.