Use twig "attribute" method to use image path in cofig file