1
1
Fork 0

OEmbed: Don't output the width of images

This commit is contained in:
Michael 2012-06-18 08:49:35 +02:00
parent d614089582
commit d53414a333

View file

@ -93,7 +93,8 @@ function oembed_format_object($j){
$ret.="<br>"; $ret.="<br>";
}; break; }; break;
case "photo": { 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>"; $ret.="<br>";
}; break; }; break;
case "link": { case "link": {