aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-25 14:22:51 -0800
committerfriendica <info@friendica.com>2012-02-25 14:22:51 -0800
commit2c7da5d0de29cd7010bd6a34c0b6cfb79fe24466 (patch)
treed435288e900f509fb3075fb000cc4f005f6627e2 /mod/item.php
parent579738aff77ed0aa6da853b479720be9ea4953d2 (diff)
downloadvolse-hubzilla-2c7da5d0de29cd7010bd6a34c0b6cfb79fe24466.tar.gz
volse-hubzilla-2c7da5d0de29cd7010bd6a34c0b6cfb79fe24466.tar.bz2
volse-hubzilla-2c7da5d0de29cd7010bd6a34c0b6cfb79fe24466.zip
scale external images
Diffstat (limited to 'mod/item.php')
-rwxr-xr-xmod/item.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index 3035989f3..9e0768a65 100755
--- a/mod/item.php
+++ b/mod/item.php
@@ -400,6 +400,8 @@ function item_post(&$a) {
$body = preg_replace('/\[\/code\]\s*\[code\]/ism',"\n",$body);
+ $body = scale_external_images($body,false);
+
/**
* Look for any tags and linkify them
*/