Re: [Zope] ImageTag and dtml-try does not work!
| OdesÃlatel: Ausum Studio <ausum_studio@hotmail.com> | Obviously the image is not getting rendered. As a first measure try to wipe | out the html tags and see what happens. You should get at least see a | consistent "<img ...>" string. | | Take into account that dtml-try, in your case, is not calling any image. It | only displays the strings -in this case the 'img' tag- that will do the | call once the page is rendered. I think that it should be raise exception at: <dtml-var expr="_['id'] + '.jpg'"> which is twice! (when image does not exist) and raise exception that is handled with dtml-try (again piece of critical code): <dtml-try> <a href="<dtml-var expr="_['id'] + '.jpg'">"> <img src="<dtml-var expr="_['id'] + '.jpg'">/thumb?width=180&height=300" aligh="right"> </a> <dtml-except> </dtml-try> Thanks, J. Lukesh
participants (1)
-
Jaroslav Lukesh