View Single Post
Old March 26th, 2014, 11:01 AM
mrdaniel mrdaniel is offline
Join Date: Mar 2014
Posts: 3

Originally Posted by Eric View Post

It is working... However the images are set to display 1px by 1px. You can even see them:

You need to change your theme settings to make the image larger.

The problem is probably not with the theme but the meta info of the pictures, the script lacks the important part where _wp_attachment_metadata is updated and different sizes of thumbnail is created, this is done by doing

$attach_data = wp_generate_attachment_metadata($attach_id, $filepath);
wp_update_attachment_metadata($attach_id, $attach_data);

One other issue with the add-on is that it is running quite late in the process, I did modify it heavily and inserted it to run during the drip of the post, as i need other plugins to have the featured_image (automatic posting to facebook, Pinterest....), after a lot of searching I found out that I also needed to set the post in draft mode during the drip and then insert all of the data for featured image and after that change it to published.

I inserted my code (alot modified from the one in the post) on line 4494 in datafeedr.php, will not slow down the pages for your visitors. If anyone needs more assistance with this please PM me..