]> git.mxchange.org Git - friendica.git/commitdiff
OEmbed: Don't output the width of images
authorMichael <icarus@dabo.de>
Mon, 18 Jun 2012 06:49:35 +0000 (08:49 +0200)
committerMichael <icarus@dabo.de>
Mon, 18 Jun 2012 06:49:35 +0000 (08:49 +0200)
include/oembed.php

index e2504b7eb8554e040e24e43da081d1e97da1b66d..910f4aaf9a5e67a56fefc016601bfbb167ddf151 100755 (executable)
@@ -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": {