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

    (@took77)

    can you please post the shortcode you are using!

    Thread Starter hanhaoran

    (@hanhaoran)

    [RSSImport display="6" feedurl="https://chinareadynews.com/feed/" use_simplepie="true" start_items="<div class='container-masonry'><div class='gutter-sizer'></div><div class='full_width_gallery desktop_3 tablet_2 mobile_1 clearfix'>" end_items="</div></div><!--end masonry--><div class='container clearfix'></div></section></div>" start_item="<figure class='gallery_item post type-post status-publish format-standard has-post-thumbnail hentry category-blog'><a href='%href%' target='_blank' class='whole-tile'></a> <img src='%picture_url%' width='750' height='500' class='attachment-blog size-blog wp-post-image darkened' alt='blog' /> <figcaption class='gallery_item_text show no-hover isimg nontransparency'><div class='v_centralizer'> <strong>" end_item="</strong></div><div class='read-more'><span>Read Article</span></div></figcaption></figure>" target="blank"]

    Plugin Author took77

    (@took77)

    The feed seems not to provide any thumbnail-pictures, thus SimplePie won’t find any “picture_url”. Try adding html=”true” (this might cause security issues if you do not trust the source of your feed!) to your Shortcode. At least the “description” of the feed should then render html-code as read from the feed which should show the images in the content of the feed!

    Thread Starter hanhaoran

    (@hanhaoran)

    hello and thank you for your quick reply. adding html=”true” didn’t make a difference. the feed display images, it is a feed of another wordpress based site. do you have any experience how to include the right type of image into the feed, for this plugin to be able to recognize the images?

    thank you so much!

    Plugin Author took77

    (@took77)

    You could change the code of the RSSImport-Plugin to preg_match() for the image urls and display them somehow. But the plugin in its current version won’t be able to do this without code changes.

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