Using the Main Screen Actions Block and What it Displays

Post

Posted
Rating:
#7839 (In Topic #2361)
Avatar
Standard member
friendly is in the usergroup ‘Community saint’
I decided to use the Main Screen Actions Block and see how it works. I only have Facebook to check how it does but I noticed that when the recommended page shows up on Facebook it truncates the Theme Image. You can see the page recommended on the bottom photo then on the top photo how the recommended page shows up on Facebook with the Theme Image truncated.

Is there a way to fix this so the image is not truncated or something I can comtrol what is being seen in the reccomendation?


Screenshot_2.jpg Screenshot_1.jpg


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Business Art Gallery
powered by ocPortal
Online now: No Back to the top

Post

Posted
Rating:
#7845
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Now we know what you look like  :cool:.

Sure.

You need to edit the HTML_HEAD template, removing this:

Code

{+START,IF_NON_EMPTY,{$METADATA,image}}<meta property="og:image" content="{$METADATA*,image}" /><meta property="og:image:width" content="{$IMG_WIDTH*,{$METADATA,image}}" /><meta property="og:image:height" content="{$IMG_HEIGHT*,{$METADATA,image}}" />{$,NB: You may also want to define a image_src link tag for some social sites}{+END}{+START,IF_EMPTY,{$METADATA,image}}<meta property="og:image" content="{$IMG*,logo/standalone_logo}" /><meta property="og:image:width" content="{$IMG_WIDTH*,logo/standalone_logo}" /><meta property="og:image:height" content="{$IMG_HEIGHT*,logo/standalone_logo}" />{+END}

You can just upload some new image to your server and reference it instead in the template:

Code

<meta property="og:image" content="url_to_the_image" />


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,053 topics, 7,195 posts, 10,839 members
  • Our newest member is PurplewaveIndia
Birthdays:
Back to Top