
Load your images on call for
There are many ways to enhance the performance of your magento store. All retailer house owners will understand that product photographs play a very powerful phase. Alternatively, there's one problem with this. The extra photographs you've gotten, the slower the positioning rather a lot and makes use of more bandwidth.
an excessively good solution to that is to load your pictures on call for, or what is most commonly referred to as lazy loading.
End Lazy loading is a additional manner to improve the page’s loading time and overall performance. you only need 1-2 mins to put in this module.
Fast-start:
1. Extract zip archive and duplicate contents to the app/folder of your Magento set up
2. Open the report “app/layout/frontend/default/default/catalog/product/list.phtml”
search for
>init($_product, ‘small_image’)>resi- ze(A HUNDRED THIRTY FIVE); ?>” height=”ONE HUNDRED THIRTY FIVE” alt=”<?php echo $this->stripTags($this->getImageLabel($_product, ‘small_image’), null, true) ?>” />
replace with
>init($_product, ‘small_image’)>resize(ONE HUNDRED THIRTY FIVE); ?>” echo=”” />getSkinUrl(‘images/lazy_image_loader/loader.gif’); ?>” alt=”<?php echo $this->stripTags($this->getImageLabel($_product, ‘small_image’), null, true) ?>” />
THREE. Clear the cache in Admin > Machine > Cache Management
FULL DOWNLOAD
No comments:
Post a Comment