migrate image and thumb paths to config.py