From 586d788e2bee8a2e578b57f3fca2c491e65191dd Mon Sep 17 00:00:00 2001 From: Nick Ryzhy Date: Sat, 28 Nov 2015 20:33:17 +0300 Subject: [PATCH] Update index.tpl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Использование thumbs вместо prev. Картинки могут быть разных форматов, а по умолчанию thumb кропится. В этом случаи галерея выглядит ровно, и размеры не скачут. --- templates/businessimage/gallery/index.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/businessimage/gallery/index.tpl b/templates/businessimage/gallery/index.tpl index 1d534820fa..bf19b6eb6f 100755 --- a/templates/businessimage/gallery/index.tpl +++ b/templates/businessimage/gallery/index.tpl @@ -31,7 +31,7 @@
{foreach $albums as $item} {if $item.count > 0} - {$loc_cover_url = "uploads/gallery/" .$item.id ."/" .$item.cover_name ."_prev".$item.cover_ext} + {$loc_cover_url = "uploads/gallery/" .$item.id ."/_thumbs/" .$item.cover_name ."".$item.cover_ext}
-
\ No newline at end of file +