Facebook like button
  • I've successfully included the prettyPhoto gallery on my webpage. It includes the Tweet button, but does not include the Facebook Like button. How do I include the Facebook Like button?

    Image and video hosting by TinyPic
  • Same here. I think it's a problem on Facebook's end.

    Is your Like button replaced with "This webpage is not found" ? Probably best to remove it altogether for the time being.

    Edit: set .pp_social .facebook to display:none in the prettyPhoto css
  • I had the same problem and took forever to find a solution. I'm not sure this is necessary once your site goes live, but it is necessary for previewing it on your local machine. Open up the js and look for the Facebook iframe. You have to add the "http:" to the iframe code....originally it just had "//www.facebook.com"

  • Hello,
    I have got some weird problem.
    I'm currently working on wamp server , widely theme, wordpress. I just installed prettyphoto media and somehow I can't change the WIDTH of facebook LIKE button. I was changing so many things in code. But it seem to lock on 50px from like.php on facebook page. This is strange I beg You-Please help me, guys :)
  • File: prettyphoto-media_settings.php
    Line: 497

    $facebook_markup = '<div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?href={location_href}&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:21px;" allowTransparency="true"></iframe></div>';

    Change width:50px;

    :D
  • Also, you should change

    .pp_social .facebook{float:left;width:225px;overflow:hidden;}

    on

    css/prettyPhoto.css

    And deactivate and activate again the facebook button on settings page.
  • How can I enable the Facebook "Like" count to appear next to the Like button, like it usually does but doesn't on the demo on this site?
  • I still have this exact problem!
    Please HELP !
  • The http was already in my code .. (:()

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter