From ba24a4b474e4a1dd572a7dddc4079733143cd87b Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 21 Jan 2015 15:26:10 +0000 Subject: [PATCH] Resize thumbnails in tile view to 128px --- filemanager/templates/default/app.css | 4 ++++ filemanager/templates/default/tile.xet | 2 +- filemanager/templates/pixelegg/app.css | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/filemanager/templates/default/app.css b/filemanager/templates/default/app.css index cb41b4a941..e5475ac0ed 100644 --- a/filemanager/templates/default/app.css +++ b/filemanager/templates/default/app.css @@ -73,6 +73,10 @@ table.egwGridView_grid .tile .file_tile { display: block; max-width: 140px; } +#filemanager-index_nm .file_tile img.vfsMimeIcon[src*="/etemplate/thumbnail.php"] { + height: auto; + max-height: 128px; +} .tile .file_tile img.vfsMimeIcon { height: auto; width: auto; diff --git a/filemanager/templates/default/tile.xet b/filemanager/templates/default/tile.xet index 1e0791b2c5..aa8170f913 100644 --- a/filemanager/templates/default/tile.xet +++ b/filemanager/templates/default/tile.xet @@ -19,7 +19,7 @@ - + diff --git a/filemanager/templates/pixelegg/app.css b/filemanager/templates/pixelegg/app.css index 7a38fc1164..da99eb0b3b 100755 --- a/filemanager/templates/pixelegg/app.css +++ b/filemanager/templates/pixelegg/app.css @@ -100,6 +100,10 @@ table.egwGridView_grid .tile .file_tile { display: block; max-width: 140px; } +#filemanager-index_nm .file_tile img.vfsMimeIcon[src*="/etemplate/thumbnail.php"] { + height: auto; + max-height: 128px; +} .tile .file_tile img.vfsMimeIcon { height: auto; width: auto;