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.

picture post problem

  1. Dear GravityForms users,

    if i publish a new user generated article post within a picture, all the other article post before (with picture, too) have no picture anymore. With every new picture post all the other picture posts only have text entries. What's wrong with it, anyone help me please!?

    Thanks in advance,
    Andreas

    Posted 11 years ago on Thursday August 2, 2012 | Permalink
  2. here is the link: http://www.meingartenbild.de/eintraege/

    only the newest post has a picture.

    Posted 11 years ago on Friday August 3, 2012 | Permalink
  3. Is there anybody who can help me please?
    Do i need to describe my problem better?

    Posted 11 years ago on Friday August 3, 2012 | Permalink
  4. Posts are unrelated. Gravity Forms will not modify any existing posts, or even any posts that it creates. I think the issue is unrelated.

    Seems to me that this is an archive page?
    http://www.meingartenbild.de/eintraege/

    If that's true, when I click on this post:
    http://www.meingartenbild.de/natursteinterrasse/

    I see the picture there. The picture just does not appear in the archive page. Is that the problem you are trying to resolve?

    If the image shows up on the archive page for Gravity Forms posts, but not your regular posts, there is something different between the way the Gravity Forms post is created, and your normal posts were created. Are you using a featured image in one place or another?

    Posted 11 years ago on Friday August 3, 2012 | Permalink
  5. Yes that's correct. The picture does not appear in the archive page.
    I created posts same way, every time. No modification. Everytime i used a new local picture and uploaded it with gravityforms formular.

    Posted 11 years ago on Friday August 3, 2012 | Permalink
  6. May I please have an administrator login to your WordPress site. I would like to look at the posts in the editor and the template also. Thank you. Please send it to chris@rocketgenius.com

    Posted 11 years ago on Friday August 3, 2012 | Permalink
  7. you have mail.

    thank you very much chris!

    Posted 11 years ago on Friday August 3, 2012 | Permalink
  8. did you get the mail?

    Posted 11 years ago on Saturday August 4, 2012 | Permalink
  9. I do have your email, two of them I believe. I will take a look at this tomorrow morning, in about 12 hours. Thank you.

    Posted 11 years ago on Saturday August 4, 2012 | Permalink
  10. All right, thank's man!

    Posted 11 years ago on Saturday August 4, 2012 | Permalink
  11. Andreas, I sent you an email. Please ensure that you received it. Thank you.

    Posted 11 years ago on Monday August 6, 2012 | Permalink
  12. Thanks Chris! I posted an email back.

    Posted 11 years ago on Tuesday August 7, 2012 | Permalink
  13. I took a look at this. The issue is with the index.php file in your current theme. It contains this code:

    [php]
    <div class="entry">
    <?php if ( 1 == $first && is_home() && !is_paged() ) {
      the_content();
      $first = 0;
    } else {
    the_content_rss('', TRUE, '', 50);
    } ?>
    </div>

    That has the effect of showing the_content() for only the first post. Every subsequent post will display 50 words of the_content_rss(). That function strips out the HTML and trims the displayed text. You can see that in effect on this page:

    http://www.meingartenbild.de/eintraege/

    I created three posts. This one was created from the post editor:
    http://www.meingartenbild.de/test-from-post-editor/

    These two were created with the Gravity Form:
    http://www.meingartenbild.de/testing-without-featured-image/
    http://www.meingartenbild.de/testing-with-featured-image/

    I submitted an image with my two form submissions and inserted one into the post using the post editor. As I was testing, it became apparent that the most recent post was the only one which displayed the image and the full content.

    It looks like this is a very old theme and should be brought up to date. The WordPress function the_content_rss() was deprecated in 2.9. You also have an update available for WordPress and a bunch of plugin updates.

    Bottom line: this has nothing to do with Gravity Forms. To fix the display of posts, you have to modify your theme's index.php file. I would have done it from the Appearance > Editor, but the files are not writable on the server. You will have to take care of that yourself.

    Please delete the three posts I created. I already deleted the duplicate form I created. Any questions, please let me know.

    Posted 11 years ago on Wednesday August 8, 2012 | Permalink
  14. Thank you so much. It works now!

    Posted 11 years ago on Wednesday August 15, 2012 | Permalink

This topic has been resolved and has been closed to new replies.