From: Michael <icarus@dabo.de>
Date: Mon, 18 Jun 2012 06:49:35 +0000 (+0200)
Subject: OEmbed: Don't output the width of images
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d53414a333964026c26c3acee0d953e742a9a633;p=friendica.git

OEmbed: Don't output the width of images
---

diff --git a/include/oembed.php b/include/oembed.php
index e2504b7eb8..910f4aaf9a 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -93,7 +93,8 @@ function oembed_format_object($j){
 			$ret.="<br>";
 		}; break;
 		case "photo": {
-			$ret.= "<img width='".$j->width."' height='".$j->height."' src='".$j->url."'>";
+			//$ret.= "<img width='".$j->width."' height='".$j->height."' src='".$j->url."'>";
+			$ret.= "<img width='".$j->width."' src='".$j->url."'>";
 			$ret.="<br>";
 		}; break;  
 		case "link": {