Hi all,
For a busy site I’m looking to ways to decrease server load and bandwith usage. One of the possible solutions is lazy loading of images. A often used Jquery-solution is the lazy load plugin (http://www.appelsiini.net/projects/lazyload).
There is just one problem with this plugin: it requires to change the syntax of the img-tag. Normally it would be:
path/to/image.jpgbut that doesn’t result to a working lazy loading solution. The correct syntax for this plugin is shown on the link (something with data-original, the forum cleans out this tag)
For my template images this is easy, but for the images in the entries (where the bulk of the heavy images is) it’s a bit more complicated. Does anyone have advice how to (automatically) rewrite/compose these new tags?