• Resolved myroxie

    (@myroxie)


    I wrote the other day about my image(s) uploading but not displaying, and that my theme (Headway) doesn’t have the usual architecture of templates to meddle in.
    I finally found a way to enter code in the equivalent of the single.php template.

    1-But now I can’t for the life of me figure out what code to put there to enable the image upload(s) to display properly. I don’t know or understand php, but I can copy and paste. But there are so many different and (to me) meaningless codes floating around the forum and the readme and elsewhere, that I can’t figure out which to use.

    2-I need to be able to display image captions. This could be challenging because the images are being uploaded apart from the media library. In other words they aren’t being sent in with a field to add a caption or an alt tag. So there’s only the file name which could often be meaningless.

    3- I’m planning to allow people to upload up to 4 images (none is required). I need to figure out a way to display output that could vary quite a bit from post to post. I tried adding [gallery] and a couple of other image display shortcodes. They did allow the images to display, but with any of the gallery-like shortcodes it only worked with multiple image uploads. If there was only a single image, they won’t show that at all. So there needs to be a way to logically and attractively display a varying number of images.

    I hope there are solutions to these issues. Thanks in advance.

    http://wordpress.org/extend/plugins/user-submitted-posts/

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

    (@specialk)

    Hi myroxie,

    1) In the readme.txt file, there are template tags that you may add to your theme files. If you’re trying to display images, put the template tag in the loop. Which template tag(s) you use depends on what you are trying to do. WP template tags also work with the respective custom fields.

    2) Media captions aren’t supported in the current version, but in a future version there will be a customizable form field that you can use for whatever you want (e.g., image caption).

    3) The USP template tags are designed to do this.

    hi Jeff,
    could you please give me more pacific where i can put template tags in my theme to display images? thanks

    Everything work perfectly except i can see the images in edit post library but they don’t show up in the posts.
    Any one can help,PLEASE? thanks so much

    I have the same problem. What does one do with “template tags”?

    Plugin Author Jeff Starr

    (@specialk)

    Template tags are integral to customizing WP themes. You can learn more here:

    http://codex.wordpress.org/Template_Tags

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Continuing image display issues’ is closed to new replies.