Use absolute path when loading the images via class loader.