the file containing the images: name == name to be used for syslog img = relative path(from MEDIA_URL) to the image In settings.py set CONFIG_PATH to the absolute path to the python file which contains the image data. Set ADS_LENGTH to the number of images you want to be shown (<= number of all images). Set MEDIA_URL to the url where all images are. Set SECRET_KEY, you may want use: pwgen -scny 51 1 Always do an "apache2ctl reload" if you changed some settings/images.