update settings and urls to support images in DEBUG mode
merge