From 6f7b0c632657e4b7e3d1d1047a91f592c2694439 Mon Sep 17 00:00:00 2001 From: xololunatic <97784387+xololunatic@users.noreply.github.com> Date: Mon, 24 Apr 2023 08:59:09 +0530 Subject: [PATCH] fix image content (not viewable) Fixed the image content problem where if the images were not fit to the size of devices and were not viewable had to scroll down and up to view the whole big image. With this fix, The whole image is fitted perfectly. (also for different kinds of devices, now its easily viewable and looks good as image viewer) --- tinyfilemanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 47c248f..b4e9340 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -1783,7 +1783,7 @@ if (isset($_GET['view'])) { } elseif ($is_image) { // Image content if (in_array($ext, array('gif', 'jpg', 'jpeg', 'png', 'bmp', 'ico', 'svg', 'webp', 'avif'))) { - echo '

image

'; + echo '

'; } } elseif ($is_audio) { // Audio content