It's hard to do outside the theme functions, so I made some new ones.
Paste these into template-functions.php. They will be included in future releases, so anything you make with them now should work in the future.
`function getPrevImageThumb() {
if(!in_context(ZP_IMAGE)) return false;
global $_zp_current_album, $_zp_current_image;
$img = new Image($_zp_current_album, $_zp_current_image->getPrevImage());
return $img->getThumb();
}`
`function getNextImageThumb() {
if(!in_context(ZP_IMAGE)) return false;
global $_zp_current_album, $_zp_current_image;
$img = new Image($_zp_current_album, $_zp_current_image->getNextImage());
return $img->getThumb();
}`
And here's an example of how to use it on the image.php theme page:
`<?php if (hasPrevImage()) { ?> [img]<?=getPrevImageThumb(); ?>[/img]<?php } ?>`
Note that I may work on these functions more, adding custom thumb sizes and better checking for next/prev existence, so be prepared to update your themes.