Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Aug 2011
    Posts
    15
    Thanks
    2
    Thanked 0 Times in 0 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:
    Code:
    <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
    New Coder
    Join Date
    Aug 2011
    Posts
    15
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Anyone?

  • #3
    New Coder
    Join Date
    Aug 2011
    Posts
    15
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Anyone?

  • #4
    New to the CF scene
    Join Date
    Dec 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •