Made absolute references to filename for images