定制 agoat/contao-deferredimages 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

agoat/contao-deferredimages

Composer 安装命令:

composer require agoat/contao-deferredimages

包简介

Contao 4 deferred images library

README 文档

README

Version License Downloads

Now compatible with Contao 4.6 !!

About

Contao normally generates (resizes) the images on a page during page generation. This can lead to long page load times or, in the worst case, script timeouts due to server restrictions.

This library shifts the image calculation from page generation to the time when the image is loaded in the browser. As a result, pages will have very short loading times and script timeouts are avoided, even with hundreds of images on a page.

Install

Contao manager

Search for the package and install it

agoat/contao-deferredimages

Managed edition

Add the package

# Using the composer
composer require agoat/contao-deferredimages

Registration and configuration is done by the manager-plugin automatically.

Standard edition

Add the package

# Using the composer
composer require agoat/contao-deferredimages

Register the bundle in the AppKernel

# app/AppKernel.php
class AppKernel
{
    // ...
    public function registerBundles()
    {
        $bundles = [
            // ...
            // after Contao\CoreBundle\ContaoCoreBundle
            new Agoat\DeferredImagesBundle\AgoatDeferredImagesBundle(),
        ];
    }
}

统计信息

  • 总下载量: 276
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2017-06-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固