PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

User generated content - featured image+more images

  1. dzulfriday
    Member

    Hi there,

    I need a solution here. I am creating a user submitted content website. I found the solution to show the featured image submitted by the user but now i just found another problem. Here is my content body structure that i want.

    {post title} - solved
    {post category} - solved
    {post images} - solved
    {post body} - solved
    {post images thumbnails} - HOW TO DO THIS?

    User can submit story, an image is compulsory for the submit process. My concern now is there are users with story that has more than one image. So i allowed maximum is 4 (1 is compulsory and 3 is additional images).

    Problem is let say a user with a story with 4 images, how can i display the 3 additional images as a thumbnail in the post? So far i just can display the featured image or the first one only.

    Please help! Thanks

    Posted 7 years ago on Wednesday August 3, 2011 | Permalink
  2. dzulfriday
    Member

    I solved this. But the thumbnails are not displayed inline or side by side. How to fix this?

    Posted 7 years ago on Wednesday August 3, 2011 | Permalink
  3. Please post a link to your site and your complete post body content template so we can help you with the CSS to get these lined up.

    Posted 7 years ago on Wednesday August 3, 2011 | Permalink
  4. dzulfriday
    Member

    how can i give the link in private? the site is still under construction

    Posted 7 years ago on Wednesday August 3, 2011 | Permalink
  5. You can send it in using the contact form, and reference this post.

    You can also post your post body content template here and maybe it will be apparent what needs to happen. However, it will be easier with your actual site and theme to work with.

    Posted 7 years ago on Wednesday August 3, 2011 | Permalink
  6. dzulfriday
    Member

    Ok, i posted there.

    Posted 7 years ago on Wednesday September 14, 2011 | Permalink
  7. I would suggest using the [gallery] shortcode in your content template. The [gallery] shortcode is built in WordPress gallery functionality for any photos attached to the page or post. It is designed to do exactly what you describe. Display any images associated with the post as thumbnails wherever you insert the shortcode.

    The content template supports shortcodes so you can use this shortcode in your content template. You can read more here:

    http://codex.wordpress.org/Gallery_Shortcode

    Your theme may or may not support the [gallery] shortcode out of the box, it may require CSS adjustments. It just depends if the theme developer took the time to properly style this or not. Most good themes do.

    Posted 7 years ago on Wednesday September 14, 2011 | Permalink