Support » Plugin: User Submitted Posts » Showing URL in Post Instead of Image

  • Resolved cpeterson325


    I’m pretty sure this plugin is exactly what I’m looking for if I could get it set up.
    The url is showing up instead of the actual image in the post. I missing the setup somewhere. When a user submits an image, it shows up like this in custom fields:
    name = user_submit_image
    value =
    which IS the url of the image.

    I’ve put this code in the loop-page.php and the loop-single.php :
    <?php $images = usp_get_post_images(); foreach ($images as $image) { echo $image; } ?>

    Can you show me what else I need to do or what needs to be different?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff Starr


    Here are two tutorials I wrote that should help:

    I think these are mentioned in the plugins readme.txt file, along with a bunch of other key information. I recommend giving it a read if you have not already done so 🙂

    I’ve read it about 56 times, but being relatively new to coding it’s not all that clear. I’ve read just about every post on the subject I could find as well. Obviously, still learning. I appreciate your patience with us novices. I’m trying to get up to speed.

    Ok. Read it. Novice question: Where in the functions.php do I place it? Does it matter? Thanks!

    I dropped it in at the bottom of the functions.php and got this message:
    Parse error: syntax error, unexpected ‘/’ in /home2/cp325/public_html/wp-content/themes/eList/functions.php on line 1447

    Plugin Author Jeff Starr


    It sounds like you may have an extra “<?php ” or “?>” tag in there somewhere..

    Amazing plugin, I can see there’s an option to attach the uploaded image as a featured image but can we have it both as a featured image AND the full size image in the body of the content?


    Plugin Author Jeff Starr


    Yes that is possible using template tags. Please read the readme.txt for more information.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Showing URL in Post Instead of Image’ is closed to new replies.