The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › Default image in custom field › Re: Default image in custom field
Oops! Terrible copy/pasting!
$img = get_post_meta($post->ID, 'imagen', true); if ($img) { echo ''; } else { echo ''; } ?>
Give that a go!