Coder Social home page Coder Social logo

helpfulrobot / textagroup-lazyloadssimages Goto Github PK

View Code? Open in Web Editor NEW

This project forked from textagroup/lazyloadssimages

1.0 2.0 0.0 8 KB

Use jQuery lazy load library to delay requesting images until they are in view

License: BSD 3-Clause "New" or "Revised" License

PHP 100.00%

textagroup-lazyloadssimages's Introduction

lazyloadssimages

Introduction

Use jQuery lazy load library to delay requesting images until they are in view

Copyright (C) 2010-2016 [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Maintainer Contact

* Kirk Mayo kirk.mayo (at) solnet (dot) co.nz

Requirements

* SilverStripe 3.2 +

Features

  • Saves on http requests by lazy loading of images on a page

Composer Installation

composer require textagroup/lazyloadssimages

Installation Manual

  1. Download the module form GitHub (Composer support to be added)
  2. Extract the file (if you are on windows try 7-zip for extracting tar.gz files
  3. Make sure the folder after being extracted is named 'lazyloadssimages'
  4. Place this directory in your sites root directory. This is the one with framework and cms in it.
  5. Run in your browser - /dev/build to rebuild the database.

Usage

After the module is installed you will need to confirm that the jQuery library is being used as this is required by jquery.lazyload.min.js

TODO

Get this working with Oembed images

textagroup-lazyloadssimages's People

Contributors

textagroup avatar

Stargazers

 avatar

Watchers

James Cloos avatar helpfulrobot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.