Git Product home page Git Product logo

qazy's Introduction

Qazy

Lazy Loading - No SEO Negative Impact

Qazy is a image lazy loader and is library agnostic (no jQuery).

Qazy removes the negative SEO impact. This is what makes it different from other lazy loaders.

Load the script as soon as possible in the webpage so that it can start tracking the images and load them lazily.

Live Preview

This is a sample markup to make a image to be loaded lazily

<!-- data-qazy is set to true means to load it lazily. Set it to false if you don't want to load it lazily. -->
<!-- A default placeholder is used. To change the placeholder, assign the variable "qazy_image" with the placeholder image url before the script is loaded. -->
<img src="offline-web-apps.jpg" data-qazy="true">

A complete working example code

<!doctype html>
<html>
    <head>
        <title>Qazy</title>
        <script> var qazy_image = "http://qnimate.com/blank.gif";  </script>
        <script src="qazy.js"></script>
    </head>
    <body>
        <img src="lazy-loading.jpg" data-qazy="true">
        <br>
        <img src="offline-web-apps.jpg" data-qazy="true">
        <br>
        <img src="random-color.jpg" data-qazy="true">
        <br>
        <img src="revel-scroll.jpg" data-qazy="true">
        <br>
        <img src="wordpress-fields-metaboxes.jpg" data-qazy="true">
    </body>
</html>

qazy's People

Contributors

laupkram avatar tino-wittig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

qazy's Issues

Not working continuously on pages

Hi Team,
I am using Qazy Library for lazy loading at my test server. But its not working symmetrical on all pages. On some images its working fine and loads the images on scroll. But most of the images loads in starting during page load.

We are using mostly 20 Kb to 80 Kb images and max 100 KB.

Doesn't work (?)

Tested in Chrome, and it doesn't seem to work - I look in the network tab, and all the images are downloaded immediately.

Even though your script does pick up the image tags and remove the src attributes, it is doing so when the load even fires - at which point the browser has already started downloading the images.

I could be wrong, but as far as my understanding, this approach had already been tried, and was already known not to work?

Make it work with picture tags

Hello

could you make it work with picture tags please ?
Sometimes we insert a picture tags with multiples source tags inside.

Thank you.

How to fire an event other then scrolling?

Hello I am using filters on my product page. If I apply some filter the products from bottom line will show on top as some products are filtered out. now if i scroll a bit the product images get loaded but can i fire the event on filter callback so the images can load without scroll for visible products.

Hope you understand the problem.

Thanks in advance.

License/copyright missing

Can you please provide a proper copyright message along a license with the source code? IANAL but in its current for this is "all rights reserved", so nobody is able to use it in their projects legally.

Thank you!

images do not appear in android

dear qazy-team,
i m just working for the first time with qazy and i m pretty happy with the effect.
the only thing, it doesn't seem to work on different android browser: for example the htc-browser, android, opera.
firefox works though.

do you have any idea?
cheers,
bart

Stretched out loading gif

Hey! I hope that you see this and can help out.

I noticed that the loading gif is quite stretched out and ugly looking. (See attached)

Is there a way to fix this?

stretched

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.