Jump to content

Recommended Posts

Lazy load images to conserve bandwidth and make site faster for mobile, tablet, and desktop users. 

Just upload (won't overwrite any core files) and turn on header tag.

Tested on 2.3.4BS but should work with previous versions.

Any problems please post here.

https://apps.oscommerce.com/X86EM&lazy-load-images


Let's make things easier for new osCommerce users http://forums.oscommerce.com/topic/402638-discussion-about-hard-coded-database-tables/?p=1718900  Getting there with osCommerce 2.4! :thumbsup:

Share this post


Link to post
Share on other sites

Hi There

Installed on 2.3.4bs gold

For the most seems to work well

Problem with store logo, seems to try to lazy load that which is not needed and also the language flags in the NAV bar which are no longer view-able, this seems to be what calls them

echo '<li><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')), $request_type, true, true, $key) . '">' . tep_image(DIR_WS_LANGUAGES .  $value['directory'] . '/images/' . $value['image'], $value['name'], NULL, NULL, NULL, false) . '</a></li>';

Tried to make the flags just text to get round it as they take up valuable down load time anyway but haven't worked that out yet without breaking it 

regards

 


David

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×