WordPress.org

Ready to get started?Download WordPress

Forums

DW Social Feed
Incorrect Images (4 posts)

  1. alieneila
    Member
    Posted 2 years ago #

    When I import images with the feed, some of the posts imported in display images from other posts imported in. Any idea why?

    http://wordpress.org/extend/plugins/dw-social-feed/

  2. alieneila
    Member
    Posted 2 years ago #

    Also... when the feed provides the author and a link to the original feed post, is there any way to include those?

  3. JoomlArt
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Alieneila, Thank you for use our plugin. We have developing this plugin so maybe still error, can you help us by show your site with this bug please? Also about original feed post link and source text, we have include this in meta field of post, so you can use get_post_meta in your template file and you can put it any where you want.

    Thank you Alieneila.

  4. alieneila
    Member
    Posted 2 years ago #

    Actually, I've found the issue as far as the duplicates. I believe it's caused by the dwsf_add_attachments function. You're renaming the image using..

    $image_name = time().'.'.$ext;

    But that can be a problem when the script is running fast enough so that more than one image gets the same name. How I solved it was by adding the post id as so...

    $image_name = $post_id.'-'.time().'.'.$ext;

    Which seems to have solved it. =)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.