Lazy Load - plugin download delay pic virtuemart 3 and 2
A plugin for downloading photo products for Joomshopping and Virtuemart.
Lazy Load - plugin download delay pic
A plugin for downloading photo products for Joomshopping and Virtuemart
The photo loading plug-in for the products uses the well-known jQuery script lazyload. With the help of the store pages will be loaded much faster due to the effect of gradual loading of pictures. The principle of its work is that when loading a page, only the images that are visible on the first screen are loaded. Instead of all the other pictures lying below - they put a "stub". The browser considers the page loaded, and as the page scrolls, the rest of the images are downloaded.
For example, imagine that the site has 96 products posted on one page and measure the speed of loading such a page.
Without plug-in - 4.5 sec.
With the plugin - 0.99 sec.
You can see an example of the plugin's work by clicking on the link in the characteristics.
The plugin is designed for Joomla 1.5, 2.5 and also adapted for joomla 3.x.
Processes only the photo of the product virtuemart and joomshopping (photo, in the path to which there is the word "product"). In order for everything to work - you just need to install and publish the pluin.
It is important to know:
- The plugin uses jQuery. If jQuery does not have a plugin, it loads it.
- The second - if you have Virtuemart line 1.1
And when displaying the photo of the goods the script show_image_in_imgtag.php is used - the plugin will not work either. Check can look at the address of the photo of the goods in the category on your site - this script will be in the address. For example - src = "/components/com_virtuemart/show_image_in_imgtag.php?filename=resized_7cba9a3_70x70.jpg&newxsize=70&newysize=70&fileout=".
Get rid of this muck - the script gives a huge load on the server
- In order for everything to work - you just need to install the extension manager and publish the plug-in in the plug-in manager.