...

View Full Version : Facebook Like Button Modified with prettyPhoto.js Coding



leontech
09-12-2011, 04:28 PM
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!

leontech
09-13-2011, 03:54 AM
Anyone?

leontech
09-19-2011, 05:48 AM
Anyone?

TyleRobinson
12-16-2011, 09:23 AM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum