I'm using the URL method as a src attribute for an image like so:
IMG(_src=URL('static', 'images/someimage.jpg'))
This image contains some text that must be translated, so there could
be someimage_pt-br.jpg, someimage_sr-rs.jpg, etc. I thought this would
be a good idea:
IMG(_src=URL('static', T('images/someimage.jpg')))
But this doesn't work. Has anyone here attempted something like this?
Any good solutions?
--
Branko Vukelić
[email protected]
[email protected]
Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny
Gimp Brushmakers Guild
http://bit.ly/gbg-group