Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 28th, 2012, 12:41 PM
jerseyal jerseyal is offline
 
Join Date: Sep 2012
Posts: 56
Default Have Drip set product image as featured image.

Have a cool plugin that will take a blog post and pin it to a pintrest board automatically. It's not working with datafeedr drip posts and it gives an error about image not set. it's looking for the post's "featured image". Is there some code I could add somewhere to have the drip post set the product image as a featured image for the post?

I saw some forum posts related to this, but I'm not sure if my case is the same...

Thanks,

AL
  #2  
Old November 28th, 2012, 12:46 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi AL,

Another user posted some code to add dripped images to the featured image area: /show...0521#post20521

Eric
  #3  
Old November 28th, 2012, 09:30 PM
jerseyal jerseyal is offline
 
Join Date: Sep 2012
Posts: 56
Default

hello Eric,

I tried adding that code and changing the permissions, but it does not work and now when I go to Posts in the WPadmin, this appears at the top:

Warning: fopen(/home/content/35/9708435/html/wp-content/uploads/2012/11/new-era-green-bay-packers-melton-basic-59fifty-fitted-hat---8211;-charcoal/green-169.jpg) [function.fopen]: failed to open stream: No such file or directory in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 32

Warning: fputs() expects parameter 1 to be resource, boolean given in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 33

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 34

Warning: fopen(/home/content/35/9708435/html/wp-content/uploads/2012/11/green-bay-packers-ladies-franchise-twill-jacket---8211;-green/gold-165.jpg) [function.fopen]: failed to open stream: No such file or directory in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 32

Warning: fputs() expects parameter 1 to be resource, boolean given in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 33

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 34

Any hints?
  #4  
Old November 28th, 2012, 10:00 PM
jerseyal jerseyal is offline
 
Join Date: Sep 2012
Posts: 56
Default

more info:

If I publish a post manually with an image in it, the pinterest plugin works and posts it to my pinterest board automatically.

Also, the two errors that reference a missing file are correct- those two images are in fact missing. So ignore those two errors, but what do the others mean?

And finally, looking at the theme closer, I don't see any reference to featured images. Perhaps my theme doesn't even use featured images or is that a part of every Wordpress theme?

sorry, learning as I go along here...
  #5  
Old November 28th, 2012, 10:09 PM
jerseyal jerseyal is offline
 
Join Date: Sep 2012
Posts: 56
Default

BTW, this is for buypackersgear.com
  #6  
Old November 28th, 2012, 10:37 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

If those 2 images were missing then the other errors could just be subsequent errors. PHP errors have a tendency to cascade, 1 error will cause another error which causes another error, etc...

Be sure to test with some products that do have valid images.

Not all themes support featured images. It's not a core WordPress feature.

Eric
  #7  
Old November 28th, 2012, 11:15 PM
jerseyal jerseyal is offline
 
Join Date: Sep 2012
Posts: 56
Default

Actually those products with the missing images were not ones I used in my test posts. I did test with products with valid images. So I don't know why it's complaining about those.

The plugin does look for featured images. So if the theme doesn't support featured images, obviously that's a problem. Assuming I get a theme that supports featured images, do you think the code additions to functions.php will get the DRIP to set a featured image?

Actually, my new site uses featured images, so I'll test there...
  #8  
Old November 29th, 2012, 08:24 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

If your theme doesn't support featured images, it's a pretty easy fix: http://codex.wordpress.org/Post_Thumbnails

Eric
  #9  
Old November 29th, 2012, 05:10 PM
jerseyal jerseyal is offline
 
Join Date: Sep 2012
Posts: 56
Default

will try that and get back to you - thanks...
  #10  
Old December 1st, 2012, 09:11 PM
jerseyal jerseyal is offline
 
Join Date: Sep 2012
Posts: 56
Default

Ok I have tghe theme using featured images now - thanks for that info. I added the code to functions.php and now my posts show the product image as the featured image. Amazing!

The pinterest plugin now works - sometimes (random). At this point the issue is most likely on their end, so I will pursue with them. thanks for your help!

Al
  #11  
Old December 1st, 2012, 10:41 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Great! Thanks for the update!
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Featured Product image size meperez Questions 4 October 19th, 2012 11:13 AM
Drip post featured image jear69 Questions 2 September 14th, 2012 08:33 AM
Image zoom plugin for product image? barbinec Questions 1 March 21st, 2012 08:37 AM
Sidebar widget: Featured Product image is too big Reson8 Problems 1 June 15th, 2011 10:20 AM
Insert product image into Drip Feed Post ubdirect Problems 3 April 27th, 2011 07:50 AM


All times are GMT -5. The time now is 12:50 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.