Wavy Davy schrieb:
> <li py:for="photo in b">
>     <img src="${tg.url(['static/images/', photo.titolo])}"/>
> </li>

This should work, but there should be no trailing slash after "images" 
in this case because the list items are concatenated with slashes (so 
you would end up with 2 slashes after "images").

Also, I overlooked that the OP forgot the leading slash without which 
the whole use of tg.url is pointless. So:

     <img src="${tg.url('/static/images/' + photo.titolo)}"/>

or

     <img src="${tg.url(['/static/images', photo.titolo])}"/>

-- Christoph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to