Other image than thumbnail

Permalink Browser Info Environment
Just a little service message.

If you want an other og:image tag than the thumbnail this can be done by modifying the file "/packages/open_graph_tags_lite/src/Html/OpenGraphTags.php"
61            $og_image = $page->getAttribute('<YOUR_IMAGE_ATTRIBUTE');
62            if (!is_object($og_image) && !empty($<YOUR_IMAGE_ATTRIBUTEID>)) {
63               $og_image = File::getByID($<YOUR_IMAGE_ATTRIBUTEID>);
.

Thanks for a very nice addon

Type: Discussion
Status: New
dafnie
View Replies:

concrete5 Environment Information

Concrete5 8.3.2

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

Click below to request a refund for License #8125494. Assigned to ArtbyBendix.
Created on May 03 2018 at 8:54 am
.