Web Analytics Made Easy -
StatCounter Facebook Like Button Modified with prettyPhoto.js Coding - CodingForum


No announcement yet.

Facebook Like Button Modified with prettyPhoto.js Coding

  • Filter
  • Time
  • Show
Clear All
new posts

  • Facebook Like Button Modified with prettyPhoto.js Coding

    Hi Everyone.
    I hope i'm in the right place and explaining good enough!

    I have a small problem in my website. I want to know if there is away to fix it and If yes I would like to get the guide-help and even pay if needed.

    Backgrounds & Details:
    I'm using HTML/CSS languages platform and I have js. files and such. In my website as you can see (www.ctrlartdesigns.com) there is: prettyPhoto.js.
    and the problem starts there.

    The problem is: When I click on the Facebook “like” button on the each-photo (Example: http://ctrlartdesigns.com/example.jpg) It will do a like to every photo on the website. I understood that the code of the Facebook in the prettyPhoto.js is general to all the photos.

    Another issue is when I click the like button it shows me all the right details. but In my Facebook will it post the main page (index.html) and not the direct root to the photo itself and not even showing the picture I liked as thumbnail in the post.

    Now what I want is: To be able to click on the Facebook “Like” button and each-photo will get their own likes depending on the people likes. As well having a perfect post in facebook with all the details and the small photo. and not like it is now. liking all the photos when you click one time.

    Facebook Code in my prettyPhoto.js:
    <iframe scrolling="no" allowtransparency="true" src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;"></iframe>
    Thanks for the helpers!

  • #2


    • #3


      • #4
        Leon... did you ever figure this out? I am having the same problem, and I cant seem to find any answers.. in fact I just read all of your posts at themeforest, and I'm just as frustrated.