CMS DataLife Engine - Система управления сайтами

b_andre

Клиенты
  • Content Count

    51
  • Joined

  • Last visited

Community Reputation

1 Обычный

About b_andre

  • Rank
    Активист
  • Birthday 09/01/1973

Контакты

  • Сайт
    http://

Информация

  • Пол
    Мужчина
  1. v. 13.2 комбинация: {image-x} = не показывает картинку .webp комбинация: {short-story} = без проблем выводит .webp 1. добавил в файле thumb.class.php function show() { if( $this->img['format'] == "JPG" || $this->img['format'] == "JPEG" ) { //JPEG imagejpeg( $this->img['src'], "", $this->img['quality'] ); } elseif( $this->img['format'] == "PNG" ) { //PNG imagepng( $this->img['src'] ); } elseif( $this->img['format'] == "GIF" ) { //GIF imagegif( $this->img['src'] ); } ///////////// elseif( $this->img['format'] == "WEBP" ) { //WEBP imagewebp( $this->img['src'] ); } ////////////////// 2. modules/show.short.php тут-1: if (stripos ( $tpl->copy_template, "{image-" ) !== false) { *** заменил на: if (($info['extension'] == 'jpg') || ($info['extension'] == 'jpeg') || ($info['extension'] == 'gif') || ($info['extension'] == 'png') || ($info['extension'] == 'webp')) тут-2: if( $config['rss_format'] == 2 ) { *** зменил на: if (($info['extension'] == 'jpg') || ($info['extension'] == 'jpeg') || ($info['extension'] == 'gif') || ($info['extension'] == 'png') || ($info['extension'] == 'webp')) 3. modules/show.full.php тут1: if (stripos ( $tpl2->copy_template, "{image-" ) !== false) { *** заменил на: if (($info['extension'] == 'jpg') || ($info['extension'] == 'jpeg') || ($info['extension'] == 'gif') || ($info['extension'] == 'png') || ($info['extension'] == 'webp')) тут2: if (stripos ( $tpl->copy_template, "{image-" ) !== false) { *** заменил на: if (($info['extension'] == 'jpg') || ($info['extension'] == 'jpeg') || ($info['extension'] == 'gif') || ($info['extension'] == 'png') || ($info['extension'] == 'webp')) тут3: if (stripos ( $tpl->copy_template, "{fullimage-" ) !== false) { *** заменил на: if (($info['extension'] == 'jpg') || ($info['extension'] == 'jpeg') || ($info['extension'] == 'gif') || ($info['extension'] == 'png') || ($info['extension'] == 'webp')) 4. modules/show.custom.php тут: if (stripos ( $tpl->copy_template, "{image-" ) !== false) { *** заменил на: if (($info['extension'] == 'jpg') || ($info['extension'] == 'jpeg') || ($info['extension'] == 'gif') || ($info['extension'] == 'png') || ($info['extension'] == 'webp')) чистим кеш проблема решена