OG: images issue

Post

Posted
Rating:
#3429 (In Topic #648)
Avatar
Standard member
crkgb is in the usergroup ‘Fan in action’
I ran into this strange thing for the start.htm page. On all the other ones it works as intended.

Looking up in the source code I have the below. Which in turn is being displayed when I'm trying to share on FB.
Website description is filled out and everything else is filled out in the adminzone site options.
og:description" content="Welcome to =========="  - this is literally what it shows

Struggling to locate where this can be changed. 
og:image" content="themes/default/images/icons/48x48/menu/_generic_spare/page.png" />

Once again, the above OG's are being filled in correctly for the new and other pages.
Online now: No Back to the top

Post

Posted
Rating:
#3430
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
If you don't enter a meta description for a page, it will auto-generate it from the content. I've improved the auto-generation code for the next patch release, but you should just edit the home page and edit the meta description to what you want.

As for og:image, you may want to edit the HTML_HEAD template and just put in your own image URL. For Comcode pages it can't by default detect what image to use as there's no meta-data for that. It is possible with advanced editing to add a new field, but it's complicated.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. 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: Yes Back to the top

Post

Posted
Rating:
#3434
Avatar
Standard member
crkgb is in the usergroup ‘Fan in action’
Hard coding it into HTML_head would cause all my other news pages to pull the same hard coded description info. Will just wait for an update.

Thank you Sir
Online now: No Back to the top

Post

Posted
Rating:
#3435
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
That was referring to og:image only, most sites are probably happy to have a single OpenGraph image for the site.

For meta descriptions, you really do need to edit the home page to enter the one you want - the update will improve auto-generation, but for your own site it has already saved it into the database.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. 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: Yes Back to the top

Post

Posted
Rating:
#3441
Avatar
Standard member
crkgb is in the usergroup ‘Fan in action’
Where in the database can I manually change the saved value
Online now: No Back to the top

Post

Posted
Rating:
#3442
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
It's the seo_meta table, but you just edit the Comcode page. It's under an expander named something like SEO.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. 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: Yes Back to the top

Post

Posted
Rating:
#3454
Avatar
Standard member
crkgb is in the usergroup ‘Fan in action’
Thank you very much
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Paul D, advisorymandi, ХорошаЯ, Salman, Chris Graham, Eric, Philip, ironfeather, 216 guests

Forum statistics:
  • 914 topics, 4,401 posts, 5,350 members
  • Our newest member is advisorymandi
Birthdays:
Back to Top