1 Published on September 17th, 2012 .
2 Every web developer should keep useful code snippets in a personal library for future reference.
3 Doing so saves a network request for each image, and prevent exposure of directory paths.