fixed kinks in image-loader directive
added documentation to image-loader directive