added closures for the use in a template

getImageDir()
getSocialmediaLinkIcon()