opengraph meta tag og:image

Permalink Browser Info Environment
hi,

had the problem that google+ doesn't let me select an image as preview/thumbnail from my girlfriends photo-blog, when i'm posting it.
so i changed the controller to add the meta tag go:image to the header for each image the gallerybox is displaying.

maybe someone else needs it too.

<?php 
   defined('C5_EXECUTE') or die(_("Access Denied."));
   class SortableFancyboxGalleryBlockController extends BlockController {
      var $pobj;
      protected $btDescription = "Displays images in a fileset (with an optional lightbox), and allows you to change their display order via drag-and-drop.";
      protected $btName = "Sortable Fancybox Gallery";
      protected $btTable = 'btSortableFancyboxGallery';
      protected $btInterfaceWidth = "800";
      protected $btInterfaceHeight = "480";
      public function metastuff() {
         Loader::model('sortable_fancybox_gallery', 'sortable_fancybox_gallery');
         $metatags = "";
         $sg = new SortableFancyboxGallery($this->bID);
         $files = $sg->getPermittedImages();
         foreach ($files as $file) {

Type: Discussion
Status: New
sk01
View Replies:

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

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

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.