There are times when you might have trouble importing images for some reason or another, so below we’ve compiled the most common causes of this issue, depending on which add-ons you may be using.
Does the RSS Feed contain images?
Open the RSS feed’s URL in your browser and search for keywords ( Ctrl+F or CMD+F ) such as img, jpg, png, etc to see whether it actually contains images. If the feed source is not visible (for example in case of Feedburner feeds) then right click on the page and choose “View Page Source” to see the feed in its original format as shown below:
If the feed doesn’t contain any images you can take a look at this tutorial on how to add featured images to RSS feeds. This only applies when you have control over the original source’s RSS feed. If you do not, you would need to contact the original source to ask them to update their RSS feeds to include images.
Where are the Images found?
If the above test passes, please check the location of the images.
The URL of the image as seen above will be in a tag. You need to confirm whether the image is present in the content (content or description tags), in the enclosure tag or in the media:thumbnail tag.
Depending on what you find, check your feed source settings and general settings (different settings tabs based on which add-on you’re using) to confirm that you are trying to import from the correct place.
Check the “Minimum Image Dimensions”
This only applies if you are using the Feed to Post add-on.
Open the actual image URL in your browser and check whether the image dimensions are greater than or equal to the minimum image dimensions you have set in your “Feed to Post – Images” settings metabox in the feed source settings (seen as 80×80 pixels below).
Images in Full Text Feeds
This only applies if you are using the ‘Force full content’ feature with the Feed to Post add-on.
In case you have checked the Force full content checkbox, then the original feed source will be converted to a full text feed which imports the content and images from the item permalink and not from the original RSS feed. So, you need to make sure that the original post URL contains images inside the content section which can be found by our full text algorithm.
To check whether your feed sources are set up correctly to import the full content using this add-on you can use our free Full Text RSS Feeds Demo. Simply enter the feed source URL, choose the settings you need, and hit “Create Feed”. This will generate an example full text feed for that source where you can check what content is able to be imported using our Full Text script.
Debugging Log Errors Related to Images
Go to the RSS Aggregator > Debugging page in your dashboard and check if you are able to see any errors related to images. If you see nothing, please change the Log Level Threshold to “Error and Below” and re-import the problematic posts.
Some common errors we have seen before include the following:
- Error downloading image “http://example.com/something.jpg” for post #123: The uploaded file could not be moved to wp-content/uploads/2015/09.
- Error downloading image “http://example.com/something.jpg” for post #456: File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini
For cases like the above, you would need to get in touch with your web host and point them to these errors as they are related to your server, not WP RSS Aggregator. If you see a different error, please contact us via our Premium Support Channel.
Check PHP.ini config – allow_url_fopen & PHP GD
Install the WordPress phpinfo plugin, and after activating the plugin head to Settings > WordPress phpinfo().§
allow_url_fopen and GD, to check whether both are enabled in your php.ini file as shown below:
If not, then get in touch with your web host so that they can enable these extensions in the php.ini file.
Folder Permission and Ownership
Check your file and folder permissions as explained here. Image download will not work if the uploads folder or the server temp directory does not have the correct ownership or permission.