----- Original Message ----- From: "Andrew Lahser" <andrew@apl-software.com>
I hope that you did not take my example literaly. I included an extra apostrophe (')
*Shoots self in head* Well, I did take it literally ^_^ but I also got the same result with my own code before that. I did look for errors in it before replying, but punctuation errors like that tend to be invisible to me (there's a reason I don't do C ^_^). Although I do see the error there, now that you mention it. Hindsight's 20/20, etc.
Remember that blah needs to be photo object, not an attribute with the name of the photo
Right. That's the problem. I have a string property "image" available to my method, rather than the Photo object it refers to.
If I understand your problem correctly, you should be able to do this.
<dtml-with blah> # blah is an attribute of the index_html document <dtml-var "tag(REQUEST, pdcookie='1', alt='your text')"> </dtml-with>
Error Type: NameError Error Value: tag Presumably because blah is a string rather than a Photo. - Gregor vorlon#iglou.com