]> git.mxchange.org Git - friendica.git/commitdiff
Showing "view full size" is now configurable
authorMichael Vogel <icarus@dabo.de>
Tue, 11 Feb 2014 22:44:45 +0000 (23:44 +0100)
committerMichael Vogel <icarus@dabo.de>
Tue, 11 Feb 2014 22:44:45 +0000 (23:44 +0100)
include/network.php

index a663a6d94283ad896139315423c250b0c7d17a1a..4bc50974b0786dc8d062d3dec959884f8f17f605 100644 (file)
@@ -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