I have created a template variable for a product image called "product_image"
I have created a chunk named productDisplayChunk to use that image that has the following code "<img src="[+product_image+]" width="95" height="95" />"
I have a ditto call that looks like this "[[Ditto? &parents=`24` &tpl=`productDisplayChunk` ]]"
Why won’t this work. I can use any of the native MODx variables to put in the chunk and they work but it seems like any custom template variable that I put in there will not work. If I hard code the image path in there the chunk will show the image just fine so I know the chunk is working and the template variable is working but why won’t it work with ditto. I have tried both the cached and non-cached versions but still no go ....
Any help would be greatly appreciated.
In the Template variable did you choose "Input Type: Image", or "Widget: Image"?
Also, [*product_image*] not [+product_image+]
<img src="[*product_image*]" width="95" height="95" />