Topic: Resize photos by default

I'd like to turn resize photos on by default, in fact I wouldn't mind if it were just always on.

It looks like this is the relevant line in svmupload.php.

Can I just pass "true" instead of $_SESSION['resize'] or something, my php knowlege is fairly non-existant.

$html = $page->getUploadHtml($attributes, $maxMByte, $_SESSION['resize']);

Re: Resize photos by default

Yes, I haven't tested it but you should be able to make resize always on by:

$html = $page->getUploadHtml($attributes, $maxMByte, true);

I can see it might be nice to have control over the default. Is anyone else interested in this? I could add it to the wish list.

jack

Jack Hardie
SimpleViewer Support Team.