Skip to content

Commit

Permalink
Set $addsize to false by default
Browse files Browse the repository at this point in the history
In favor of css
  • Loading branch information
saundefined committed Feb 1, 2024
1 parent 90013d2 commit 555ac83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/layout.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 555ac83

Please sign in to comment.