Fixes here and there

This commit is contained in:
Michał Gdula 2022-09-10 08:37:01 +00:00
parent eeb79ec53c
commit 951871b983
5 changed files with 10 additions and 3 deletions

View file

@ -44,8 +44,8 @@ if (isset($_POST['submit'])) {
<?php
}
}
if ($width > 1000) {
$make_preview = make_thumbnail($image_path, $preview_dir.$image_newname, 1000);
if ($width > 1100) {
$make_preview = make_thumbnail($image_path, $preview_dir.$image_newname, 900);
if ($make_preview != "success") {
?>
<script>