Thanks, that seems to be working. :) On Sat, Nov 13, 2010 at 1:15 AM, Martin.Mulone <mulone.mar...@gmail.com> wrote: > Did you try? > > IMG(_src=URL('static', str(T('images/someimage.jpg')))) > > On 12 nov, 20:59, Branko Vukelic <bg.bra...@gmail.com> wrote: >> 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ć >> >> bg.bra...@gmail.com >> stu...@brankovukelic.com >> >> 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 Guildhttp://bit.ly/gbg-group
-- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com 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