[Plugin: WPBook] Image in post doesnt appear in facebook post. (6 posts)

  1. af3
    Posted 6 years ago #

    Hi, I am using wpbook 1.4.1 and wp2.9.1; so far its working fine and I am getting all the post appearing on the facebook application as intended, blog is at http://donateyourjunk.com/ and facebook app is at: http://apps.facebook.com/donateyourjunks/

    However, the image posted in blog doesnt show up in the facebook apps. Not sure what I'm not doing right.. appreciate any help. thanks

  2. BandonRandon
    Posted 6 years ago #


    Are you using any plugins to upload your images? It seems that your images are being stored in the themes folder at least in the color printer article http://donateyourjunk.com/wp-content/themes/wpclassifieds/includes/timthumb.php?src=uploads/uploads/2010/01/31/39-1.jpg&w=200&h=80&zc=1

    WPBook works by "replacing" the default theme with a custom theme while inside of Facebook. This means that instead of themes/wpclassifieds/ WPBook sees wpbook/themes/blah blah blah you may need to upload the timthumb.php inside the includes folder of wpbook/theme.

    This is just a guess but I hope it points you in the right direction.

  3. af3
    Posted 6 years ago #

    Hi, you were right!
    What I did what to actually add the absolute path to timthumb.php in the WPBook default index.php. It's working now.

    Not sure if this is the best approach tho' :(

  4. BandonRandon
    Posted 6 years ago #

    This isn't a bad approach. I'm sure they may be better ones out there, depedning how you use timthumb.php there may be (or you could write) a WordPress Plugin out there that will use a hook or grab the url from the plugin folder so you won't have to use the script from your theme's folder. As I said before though, this isn't a horrible solution (in my humble opinion)

    A word of warning though, keep a back-up copy of the index.php as you'll need to make the change again when/if you upgrade to the next version. There are many changes to index.php planned for the next version of WPBook.

    Glad you found a solution that worked though, happy blogging!

  5. mrmidjam
    Posted 6 years ago #

    If you have the time could you please explain how to get the images working, as i have limited php knowledge :)

  6. John Eckman
    Posted 6 years ago #

    @mrmidjam - Are you using the same theme as af3? wpclassifieds?

    I'm not familiar with that theme or how it works

Topic Closed

This topic has been closed to new replies.

About this Topic