Title: [post_image return=&#8221;src&#8221;]
Last modified: May 1, 2017

---

# [post_image return=”src”]

 *  [slawson612](https://wordpress.org/support/users/slawson612/)
 * (@slawson612)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/post_image-returnsrc/)
 * return = “src” does not return a well formed source path
    i.e. when using [post_image
   return=”src”] inline within a post I get the following
 * background-image: url();
 * however when I use [post-thumbnail return=”src”] the above inline style works
   fine, eveything is well formed but the image is the not the one I want to use.
 * Please advise – Thanks –
 * Love this plug in!!!!

Viewing 1 replies (of 1 total)

 *  Thread Starter [slawson612](https://wordpress.org/support/users/slawson612/)
 * (@slawson612)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/post_image-returnsrc/#post-9086829)
 * hmmmm – actually it looks like WP stripped out what I get – ok basically I get
   the correct path BUT without “/” and with “img src=” in the “url(HERE)”
 * url()

Viewing 1 replies (of 1 total)

The topic ‘[post_image return=”src”]’ is closed to new replies.

 * ![](https://ps.w.org/w4-post-list/assets/icon-128x128.png?rev=3034626)
 * [W4 Post List](https://wordpress.org/plugins/w4-post-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w4-post-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w4-post-list/)
 * [Active Topics](https://wordpress.org/support/plugin/w4-post-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w4-post-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w4-post-list/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [slawson612](https://wordpress.org/support/users/slawson612/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/post_image-returnsrc/#post-9086829)
 * Status: not resolved