Added if for image_path in twig