Opções
- Inscrever-se no RSS Feed
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico do usuário atual
- Favorito
- Inscrever-se
- Página amigável para impressora
Get an image source from a blog post's banner module into the listing template
resolverSachkundiger
08-22-2018 06:27
Hi,
I have an image field within our blog posts teamplate banner module. I can get this displaying fine within the module template using {{ module.banner_image.src }} however I'm unsure how I would get this image on the listing template within the loop. I'm assuming I need to reference the specific module and then the field followed by srcbut I'm just not sure what the syntax is for this, I have tried
{{ content.widget.mobile_thumbnail.src }}
but no luck
Thanks
Solucionado! Ir para Solução.
Opções
- Marcar como novo
- Favorito
- Inscrever-se
- Inscrever-se no RSS Feed
- Realçar
- Imprimir
- Enviar e-mail a um amigo
- Relatar conteúdo como inapropriado