Title: Simple Code for image display
Last modified: August 21, 2016

---

# Simple Code for image display

 *  [tsurom](https://wordpress.org/support/users/tsurom/)
 * (@tsurom)
 * [13 years ago](https://wordpress.org/support/topic/simple-code-for-image-display/)
 * Hi Pär
    Thanks for the answer, but i don’t understand it. I want in a field group
   with textboxes a pictures to chose and display on a post. I can realise it with
   the WYSIWYG Editor Textfield and the code $selected_value = simple_fields_get_post_value(
   get_the_id(), array(1, 4), true); if ($selected_value) { echo “Anbieter: $selected_value
   </br>”; }
 * But it would be more elegant if there is only a picture to chose.
    As i mentioned
   before i have no idea about php, so i just used your examples and that worked
   fine for me. Is there a way to use the examplecode for a picture? Greetings from
   Japan Tsurom
 * [http://wordpress.org/extend/plugins/simple-fields/](http://wordpress.org/extend/plugins/simple-fields/)

The topic ‘Simple Code for image display’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-fields_fafafa.svg)
 * [Simple Fields](https://wordpress.org/plugins/simple-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-fields/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tsurom](https://wordpress.org/support/users/tsurom/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/simple-code-for-image-display/)
 * Status: not resolved