From 8c1d31deccd4b0b8cabe4d4a29fcf777bdc7bab7 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 11 Feb 2014 23:44:45 +0100 Subject: [PATCH] Showing "view full size" is now configurable --- include/network.php | 4 ++++ 1 file changed, 4 insertions(+) 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