- Make sure you are in development mode. Go to the end of your HTML file and set the 'data-main' attribute to 'js/index' instead of 'js/index.min'.
- Download the 'LazyLoad' pluign from GitHub and paste it in 'js/libs/' folder.
- Defin the pluign in your 'js/index.js' file like shown in the screenshot.
- Open the 'js/modules/portfolio.js' file and inside the 'init' function add the 'lazyload' call, like shown in the screenshot.
- Open your HTML file and search for 'alt="portfolio"'.
- For all the images you have found please follow these instructions.
- Change the 'src' attribute to 'data-original'
- Add the attributes width="400" and height="260"
- Add the class 'lazy'
- Finaly your image tag should look like this.