diff --git a/core/components/cliche/controllers/web/plugins/default/default.class.php b/core/components/cliche/controllers/web/plugins/default/default.class.php index a89155d..c92591c 100644 --- a/core/components/cliche/controllers/web/plugins/default/default.class.php +++ b/core/components/cliche/controllers/web/plugins/default/default.class.php @@ -133,7 +133,7 @@ public function afterItemRendered($row){ public function setItemPlaceholder($phs, $obj){ /* We use the internal phpThumb class to set the custom thumbnail */ $fileName = str_replace(' ', '_', $obj->get('name')); - $mask = $fileName .'-'. $phs['width'] .'x'. $phs['height'] .'-zc.png'; + $mask = $fileName .'-'. $phs['width'] .'x'. $phs['height'] .'-zc.jpg'; $file = $obj->getCacheDir() . $mask; if(!file_exists($file)){ $original = $this->controller->config['images_path'] . $obj->get('filename'); @@ -142,7 +142,7 @@ public function setItemPlaceholder($phs, $obj){ 'jpegQuality' => 90, )); $thumb->adaptiveResize($phs['width'], $phs['height']); - $thumb->save($file, 'png'); + $thumb->save($file, 'jpg'); } $phs['thumbnail'] = $obj->getCacheDir(false) . $mask; diff --git a/core/components/cliche/lexicon/cs/mgr.inc.php b/core/components/cliche/lexicon/cs/mgr.inc.php index 61be25d..dfbb32a 100644 --- a/core/components/cliche/lexicon/cs/mgr.inc.php +++ b/core/components/cliche/lexicon/cs/mgr.inc.php @@ -160,3 +160,10 @@ $_lang['cliche.no_preview'] = 'Bez náhledu'; // $_lang['cliche.saving_msg'] = 'Saving, please Wait...'; $_lang['cliche.saving_msg'] = 'Ukládání, momentíček...'; +// $_lang['cliche.save_new_order'] = 'Save new order'; +$_lang['cliche.save_new_order'] = 'Uložit nové pořadí'; + + +/* AlbumSelect TV */ +// $_lang['cliche.album_management'] = 'Manage album'; +$_lang['cliche.album_management'] = 'Spravovat album';