I'm much of a php-noob but have this idea of a loop for my site. I have the idea behind it but maybe you have an idea how to put this into code:
$customfield = get_specific_customfield
if $custom-field is = not empty
echo 'custom-field-input" class="'
else
echo '`<?php echo $thumbnail_src[0]; ?>" class="fancybox`'
(I have to integrate the fancy-box stuff to control how the input will be displayed)
