• Resolved Harman

    (@harman-h)


    I’m experimenting with uploading scheduled posts from a CSV file (instead of creating them one by one). For some of these posts, a link to an image is already included in the content of the post, right in the CSV file.

    What I now see is that for those posts, that image DOES appear in the post itself, but NOT in the RSS feed. Is this because I didn’t manually upload the image to the post in the WordPress back-end?

    Am I doing something wrong? Thanks so much for your help!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    In looking at your site and your feed, I do see images in the feed for all of your posts except for one. It looks like you have your feed set up to show the summaries/excerpts only, in which case the image that is added is preferably the featured image. If the post doesn’t have a featured image, it will attempt to add an image anyway, by looking for the first image associated with the post. If there are no images, then none will be added. Because of how WordPress handles featured images and image to post associations, the plugin cannot use “external” (not uploaded to WordPress) images for the summary featured image.

    If you choose to use the full text RSS feed, the images will be displayed within your posts, but the plugin can’t really process them.

    Since I do see the images in your feed, I’m not really sure I’m on the same page as you are–if you are still seeing the issue, can you maybe share a link to a specific post that you’ve created this way?

    Thread Starter Harman

    (@harman-h)

    Robin, I should have been more specific, sorry about that.

    You are right, there is one post in the feed now that is missing an image — that’s the one I uploaded via CSV while I’m still trying out this new approach. (I’m testing on a one-by-one basis now. Once I’ve got this working, I’ll upload all the other similar posts for the year.)

    This post was supposed to look like the other “quote” posts in the RSS feed that have a square quotation image.

    Just to clarify, this is the workflow I’m trying out:

      I’ve pre-uploaded all the images to my WordPress media library.
      For each post, under the content field, the CSV file contains a link to the relevant image (e.g., <p><img src="https://hoetink.com/wp-content/uploads/adoiq-31.jpg" alt="" width="1024" height="1024" /></p>).
      The post is scheduled for a future date.

    When the post you see now was published, the image did show up in the post on my site, but not in my RSS feed.

    Thanks again for taking the time to help me figure this out!

    • This reply was modified 7 years, 2 months ago by Harman.
    Plugin Author Robin Cornett

    (@littlerchicken)

    Okay, so with your feed set to summaries/excerpts, your process doesn’t attach the image to the post in WordPress, so there is no way for it to be added to the post in the feed. I believe that if you went into the Media Library and attached the image to the post once it’s scheduled or published, that would probably work, but it’s an extra step–that may not suit your workflow.

    Basically, for the image to be added to the excerpt/summary feed, a relationship has to exist in WordPress between the image and the post. Either the image has to be set as the post’s featured image, or it has to be “attached” to the post, as if it had been uploaded within the post editor.

    Thread Starter Harman

    (@harman-h)

    The feed had been set to summaries/excerpts all this time, and it has worked well so far, thanks to your great plugin. But apparently with this new workflow, the RSS feed does not pick up the in-post images anymore. (It does pick up the featured images.)

    I could try not pre-uploading the images, but having them upload together with the CSV file. That may make a difference.

    I’ll report back with my findings!

    Thread Starter Harman

    (@harman-h)

    Final verdict: the trick is not to pre-upload your in-post images to your WP Media Library. (For featured images, everything works fine out of the box.)

    I ran another test today, and if I upload the images from another location to WordPress through the CSV file, everything works perfectly. In CSV the post content field, whatever the URL is for the images in their temporary location, it will be converted by WordPress to the correct URL in your site’s Media Library as it creates the posts upon import. If you do to this way, the first in-post image will appear in the RSS feed (with the help of Send Images to RSS, of course).

    Thanks again for helping me figure this out, Robin!

    • This reply was modified 7 years, 2 months ago by Harman.
    Plugin Author Robin Cornett

    (@littlerchicken)

    Thank you for the update! I am glad you got it figured out, and appreciate that you shared the final process as well.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘In-post image not shown in RSS for CSV-uploaded post’ is closed to new replies.