From fe0f8078780ce0b8ae8aad2bf298ac3c510082f7 Mon Sep 17 00:00:00 2001 From: Devdatt Bhatt Date: Sat, 23 May 2026 10:07:50 +0000 Subject: [PATCH] ui update --- encoder/image.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/encoder/image.php b/encoder/image.php index ad2f499..a833901 100644 --- a/encoder/image.php +++ b/encoder/image.php @@ -104,7 +104,7 @@ if (isset($_POST['submit']) || isset($_POST['display'])) { // 7. Save to primary destination with compression (level 7) if (imagepng($dst_img, $destination, 7)) { - $filename = basename($destination); + $filename = basename($pad_destination); $secondary_destination = $secondary_dir . $filename; if (!@copy($destination, $secondary_destination)) { @@ -153,9 +153,7 @@ include 'header.php';