diff --git a/css/cdm.css b/css/cdm.css index 516242bd..0af07076 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 97f787c8..38c25595 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 fd750220..2b71a8e9 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');