Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Lazy Load Images


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.


osCommerce user since 2003! :thumbsup:

Link to comment
Share on other sites

  • 1 year later...

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 




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...