Fix bug in which webserver wasn't able to server images