Commit c2e12d0c76f7c9b606c28f6999bf113cbf0829ed

Authored by Yarik
1 parent c391db3d

Category seo text

components/artboximage/ArtboxImageHelper.php
... ... @@ -58,7 +58,7 @@
58 58 * @return string
59 59 * @see Html::img()
60 60 */
61   - public static function getImage($file, $preset, $imgOptions = [], $quality = 65, $lazy = false)
  61 + public static function getImage($file, $preset, $imgOptions = [], $quality = 90, $lazy = false)
62 62 {
63 63 $preset_alias = is_array($preset) ? array_keys($preset)[ 0 ] : null;
64 64 $src = self::getImageSrc($file, $preset, $preset_alias, $quality);
... ... @@ -86,7 +86,7 @@
86 86 *
87 87 * @return bool|string
88 88 */
89   - public static function getImageSrc($file, $preset, $preset_alias = null, $quality = 65)
  89 + public static function getImageSrc($file, $preset, $preset_alias = null, $quality = 90)
90 90 {
91 91 if (is_string($preset)) {
92 92 $preset_alias = $preset;
... ... @@ -141,7 +141,7 @@
141 141 *
142 142 * @return bool|string
143 143 */
144   - private static function getPresetUrl($filePath, $preset, $preset_alias, $quality = 65)
  144 + private static function getPresetUrl($filePath, $preset, $preset_alias, $quality = 90)
145 145 {
146 146 $pathinfo = pathinfo($filePath);
147 147 $presetPath = $pathinfo[ 'dirname' ] . '/styles/' . strtolower($preset_alias);
... ... @@ -176,7 +176,7 @@
176 176 *
177 177 * @return string
178 178 */
179   - private static function createPresetImage($filePath, $preset, $preset_alias, $quality = 65)
  179 + private static function createPresetImage($filePath, $preset, $preset_alias, $quality = 90)
180 180 {
181 181 $image = self::getDriver()
182 182 ->load($filePath);
... ...
translation/ru/product.php
... ... @@ -26,4 +26,6 @@
26 26 'Create Product' => 'Создать Товар',
27 27 'Enable' => 'Доступно',
28 28 'Disable' => 'Отсутсвует',
  29 + 'Update {modelClass}: ' => 'Обновить {modelClass}: ',
  30 + 'Update' => 'Обновить',
29 31 ];
30 32 \ No newline at end of file
... ...
translation/ua/product.php
... ... @@ -26,4 +26,6 @@
26 26 'Create Product' => 'Создать Товар',
27 27 'Enable' => 'Доступно',
28 28 'Disable' => 'Отсутсвует',
  29 + 'Update {modelClass}: ' => 'Оновити {modelClass}: ',
  30 + 'Update' => 'Оновити',
29 31 ];
30 32 \ No newline at end of file
... ...