diff --git a/bridges/TwitterBridge.php b/bridges/TwitterBridge.php index 316094d..081cd2a 100644 --- a/bridges/TwitterBridge.php +++ b/bridges/TwitterBridge.php @@ -153,13 +153,13 @@ EOD; $image = $this->getImageURI($tweet); if(!$this->getInput('noimg') && !is_null($image)){ // add enclosures - $item['enclosures'] = array($this->getImageURI($tweet)); + $item['enclosures'] = array($image . ':orig'); $image_html = << + + src="{$image}:thumb" /> EOD; } @@ -195,13 +195,13 @@ EOD; $quotedImage = $this->getQuotedImageURI($tweet); if(!$this->getInput('noimg') && !is_null($quotedImage)){ // add enclosures - $item['enclosures'] = array($this->getQuotedImageURI($tweet)); + $item['enclosures'] = array($quotedImage . ':orig'); $quotedImage_html = << + + src="{$quotedImage}:thumb" /> EOD; }