add a twig function for image URL