Browse Source

OEmbed: Don't output the width of images

pull/351/head
Michael 8 years ago
parent
commit
d53414a333
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      include/oembed.php

+ 2
- 1
include/oembed.php View File

@ -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": {


Loading…
Cancel
Save