Fixed image paths when loading templated page