added template pre-process to display loris-base image links