Get single image from custom fields made with WCK custom fields creator

Here is the code that worked. I had to get rid of the foreach loop and reference the array directly:

<?php if ( have_posts() ) : while ( have_posts() ) : the_post();

$productimgs = get_post_meta( $post->ID, 'productimg', true );

$image_color =  $productimgs[0]['product-image-color'];
$image_bw = $productimgs[0]['product-image-bw'];    
$imgclr = wp_get_attachment_image_src( $image_color, 'grid-large' );
$imgbw = wp_get_attachment_image_src( $image_bw, 'grid-large' );
    echo '<li>';
    echo '<a href="' . get_permalink () . '"><img class="desat" src="' . $imgbw[0] . '"  />';
    echo '<img class="sat" src="' . $imgclr[0] . '"  /></a>';
    echo '</li>';

?>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)