Falls du das immer noch selber machen möchtest.
PHP-Code:
<?php
$width = "851"; /** * new width */
$height = "315"; /** * new height */
$mode = 'center_center'; /** * modes available: proportional, box */
$target = null; /** * target for new images default = null (system/html/) */
$newImage = $this->getImage($this->src, $width, $height, $mode, $target);
$envurl = $this->replaceInsertTags( '{{env::url}}' );
$GLOBALS['TL_HEAD'][] = '<meta property="og:image" content="'.$envurl.'/'.$newImage.'" />';
?>
Lesezeichen