diff --git a/css/cdm.css b/css/cdm.css index 516242bdb..0af07076f 100644 --- a/css/cdm.css +++ b/css/cdm.css @@ -264,6 +264,7 @@ div.cdmContentInner p { div.cdmContentInner iframe { min-width : 50%; + max-width : 98%; } div.cdmHeader span.author { diff --git a/css/tt-rss.css b/css/tt-rss.css index 97f787c81..38c255950 100644 --- a/css/tt-rss.css +++ b/css/tt-rss.css @@ -1012,6 +1012,7 @@ div.postContent p { div.postContent iframe { min-width : 50%; + max-width : 98%; } div.postHeader span.author { diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index fd7502203..2b71a8e9d 100644 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -190,7 +190,7 @@ class Af_RedditImgur extends Plugin { if (!in_array($aentry->getAttribute("content"), $urls)) { $img = $doc->createElement('img'); - $img->setAttribute("src", $aentry->getAttribute("content")); + $img->setAttribute("src", str_replace("?fb", "", $aentry->getAttribute("content"))); $entry->parentNode->insertBefore($doc->createElement('br'), $entry); $br = $doc->createElement('br');