Treat .ico and .jpeg files as images