set up home page to dynamically link to images