Giter Site home page Giter Site logo

sae's Introduction

What

Sae is gallery module for Divi which uses Low Quality Image Placeholders (LQIP) approach to keep page rendering fast.

What's with the name?

Sae is Sundanese (local tribe of Indonesian) language for good in polite form (Sundanese has different word for different level of formality and / or politeness)

I just need a decent and unique name for this project and I'm Sundanese, so that's it.

Why

I recently gain more interest in photography which leads me to post tons of photo on my personal blog which uses Divi. I exhibit lots of photo per page and I want to display the photos on the highest quality possible (See this "blogazine" look post or this post for example); Unfortunately, it ends up making the page slower.

Hence this custom module.

How

Sae works with Low Quality Image Placeholder (LQIP) approach:

  1. Sae registers image sizes which tries to hit the sweet spot of enough for various breakpoint but not too much (see: sae_image_sizes(); Sae registers 6 new image size to cater mobile to desktop retina display). Note: this might cause your upload directory size significantly bigger. If you have very limited size of storage, this might not be for you
  2. When the image is set for the gallery, on front end, Sae will swap the assigned image with placeholder image of given image which has 150px width size
  3. On front end page load, this 150px width size is the one that is being loaded on page load which makes the document render quick. Once the document render is done, Sae examine the width of the module then load the most suitable image size and display the suitable image size instead.

Currently, Sae offers two kind of gallery layout: list of image / masonry. The Masonry layout use pure CSS solution based on CSS Column property.

Who

Sae is currently developed by Fikri Rasyid.


Notes

  • Sae's repository is publicly available at https://github.com/fikrirasyid/sae
  • Sae is developed using Divi's create-divi-extension and compatible with Divi Visual Builder
  • Sae is licensed under GPL
  • There is a plan for more gallery layout(s) and more modules, but I keep my expectation reasonable since I develop Sae on my spare time.

sae's People

Contributors

fikrirasyid avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

sae's Issues

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.