I am trying to use getResources to retrieve some content from a child resource. Everything works except the image assigned to the tv.news_thumb template variable.
if it doesn't work :
can you copy the array output here ?
have you looked at the html source to see the output ?
can you confirm that the tv output type is "text" and are you sure the name "news_thumb" is correct?
Tips: never use getResources uncached tag, and &includeContent=0 if you dont output the [[+content]].
CTRL+SHIFT+U - Clear Cache
CTRL+SHIFT+H - Hiding Heft Panel
CTRL+SHIFT+N - Fast Create Resource
CTRL+ALT+P - Preview Recource (in edit resorce window)
CTRL+ALT+S - Save
Same result. There is something about the output tpl. If I take the tpl out of the getResource call, the array outputs the image. Put the tpl back in and the image disappears.
yeah and you can try to output the tv without the <img> tag to see what you get.
at this point if you didn't give us some code to check (output or url) we can't help more..
CTRL+SHIFT+U - Clear Cache
CTRL+SHIFT+H - Hiding Heft Panel
CTRL+SHIFT+N - Fast Create Resource
CTRL+ALT+P - Preview Recource (in edit resorce window)
CTRL+ALT+S - Save