From: Michael Vogel Date: Tue, 11 Feb 2014 22:44:45 +0000 (+0100) Subject: Showing "view full size" is now configurable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8c1d31deccd4b0b8cabe4d4a29fcf777bdc7bab7;p=friendica.git Showing "view full size" is now configurable --- diff --git a/include/network.php b/include/network.php index a663a6d942..4bc50974b0 100644 --- a/include/network.php +++ b/include/network.php @@ -826,6 +826,10 @@ function add_fcontact($arr,$update = false) { function scale_external_images($srctext, $include_link = true, $scale_replace = false) { + // Suppress "view full size" + if (intval(get_config('system','no_view_full_size'))) + $include_link = false; + $a = get_app(); // Picture addresses can contain special characters