Resource icon

XenForo [CinVin] Style & Meta Tweaks (use attachments for og:image & others) 1.1.1

No permission to download

Kevin

Code Monkey
Staff member
This add-on is not working for me. My article images are not being sent to twitter. My settings are, I have the 3 OG boxes ticked. As well as the use metadata box. And the twitter username entered.
PM me a URL to check out. :smiley:

It's been a bit since I've had a chance to circle back around to this so it's possible I have changes that haven't been packaged up yet.
 

Kevin

Code Monkey
Staff member
I know, I know, I need to get back to working on the updates for this, especially for the 'article' type threads. :(

In the next release the option to change the emoji CDN file extension has been removed and is now a stand-alone add-on.
 
This add-on appears to pull the first image in the thread for the image to share to FB? I was hoping it actually pulled the image from the post itself you were attempting to share as a template mod I had already did the first image. This is an example (and how I figured out it wasn't using the one I wanted).

First image in thread
Screen Shot 2022-09-04 at 3.56.57 AM.png


Updated image in thread wanting to share.

Screen Shot 2022-09-04 at 3.57.10 AM.png
 
Last edited:

Kevin

Code Monkey
Staff member
I was hoping it actually pulled the image from the post itself you were attempting to share
That would likely require a code callback in order to grab the post number from the URL and if the post has multiple attachments there is no way of knowing which is the intended attachment.

a template mod I had already did the first image
If it's the one I'm aware of it doesn't take into account some things like the attachment size or adding the OG height & width tags to the output page. It just calls the XF 'cover image' function that was meant to be used with the XF article view to get the first found image.
 
That would likely require a code callback in order to grab the post number from the URL and if the post has multiple attachments there is no way of knowing which is the intended attachment.
yeah.. it's really a pity... and I realize that what I need it for is really a one-off type use.
I guess I can always dump all those photos that get posted into a XFMG area and filter through the ones I don't want to keep in there and share directly from it. I just like the blurb it gives when it comes from the thread.
 
Top