I'm trying to output an image of the next post within my template like so...
{exp:channel:next_entry}
<img src="{testimony_story_background}"/>
{/exp:channel:next_entry}
It doesn't work. What is the correct way to do this using a custom field that has been set up? I have tried using the query module but that that only seems to work outputting simple text fields. Here is an example...
{exp:query sql="SELECT field_id_16 FROM exp_channel_data WHERE entry_id = '{entry_id}'"}
{field_id_16}
{/exp:query}
Any help would be wonderful!