8 Feb
2002
8 Feb
'02
8:34 p.m.
Hi, I have the next structure in my product My_Product /My_Product /www /page.dtml ... /img /my_img.gif ... /My_Pruduct.py ... I've define in My_Product.py a python class with the same name and inside this class I define what I show next: my_img = ImageFile('img/my_img.gif', globals()) In page.dtml I try to insert my_img with this sintax: <dtml-var my_img> This doesn't work. my_img appear as a broken image when I saw page.dtml This work when I use the same method to insert a piece of code DTML but doesn't work with an image. What I am doing wrong? Thanks in advanced Martin