Support » Plugin: Simple Fields » [Plugin: Simple Fields] Adding image through simple fields displays a number

  • Awesome plugin.

    Have an issue when using a file attachment field to add an image. Just 1 image, its not a repeatable field. I’m using

    <?php $portfolioThumb = simple_fields_get_post_value(get_the_id(), array(2, 4), true);
    	echo "<span class='meta-value_portfolio-thumb'>$portfolioThumb</span>";?>

    Instead of showing the image the images database number is displayed.

    Looking at the database I see the meta_id, post_id and the following simple fields key and meta

    _simple_fields_fieldGroupID_2_fieldID_4_numInSet_0 192

    Any ideas?

    Thanks

    http://wordpress.org/extend/plugins/simple-fields/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Simple Fields] Adding image through simple fields displays a number’ is closed to new replies.