I'm using custom fields to set a header image on posts. This is the code I'm using along with C2C's plugin:
<img src="<?php echo c2c_get_custom("image_thumb", "/wp-content/uploads/headers/", ".jpg", "privateIslandsHeader"); ?>" />
My custom field key is "image_thumb" and my custom field value is the image file name without the extension while using the before as the path and the after as the file extension. I've also set the default is case there isn't a custom field.
My problem is that it is only picking up the default image and not the one designated by the post's custom field. Any ideas? Any and all insights would be appreciated...