Made images work in cases where the app is not mounted at the server root.