Author: Sergey Panteleev (saundefined) Date: 2024-02-01T10:05:52+03:00 Commit: https://github.com/php/web-php/commit/555ac83c14db93466c53460a15b11ff82af57c3b Raw diff: https://github.com/php/web-php/commit/555ac83c14db93466c53460a15b11ff82af57c3b.diff
Set `$addsize` to false by default In favor of css Changed paths: M include/layout.inc Diff: diff --git a/include/layout.inc b/include/layout.inc index eeedd43872..c7064ecb82 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -64,7 +64,7 @@ function resize_image($img, $width = 1, $height = 1) // Return an <img> tag for a given image file available on the server function make_image($file, $alt = false, $align = false, $extras = false, - $dir = '/images', $addsize = true) + $dir = '/images', $addsize = false) { // If no / was provided at the start of $dir, add it $webdir = $_SERVER['MYSITE'] . ($dir[0] == '/' ? '' : '/') . $dir; -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php