FYI it's up and running for me with this custom_format_function:
function dadabik_foto($value) {
return '<a href="uploads/thumbnails/'.$value.'" data-lightbox="show1" data-title="some name: '.$value.'"><img src="uploads/'.$value.'"></a>';
}
best regards
Manuel