i 've tried this example:
It's OK, but i need little modify it. How to replace text 'next' with current image (variable $content) in the $next_node_link? My idea is make clickable images linked to next node.
I've tried modify this row:
$next_node_link = next_prev($node->nid, $node->type, 'next', t('next'), NULL, ' >>');
$next_node_link = next_prev($node->nid, $node->type, 'next', $content, NULL, NULL);
but i see source code instead of image on the page.
What do i wrong, please? Thx