PDA

View Full Version : like btn on individual images in a gallery



melaniebund
07-21-2014, 11:22 AM
Hi
Is it possible to add the like button to all images within different galleries, so that individual photos can be voted on
Thank you in advance
Melanie

LikeBtn
07-21-2014, 12:05 PM
Yes. It is possible.
Which CMS are you using?

melaniebund
07-21-2014, 06:17 PM
Hi
i am using wordpress latest version
Melanie

LikeBtn
07-22-2014, 07:48 AM
Which WordPress plugin are you using?

melaniebund
07-22-2014, 08:33 AM
hopefully essential grid by envato, if they can sort out the payment mess...

melaniebund
07-22-2014, 11:27 AM
I may actually be using a jquery plugin, (megafolio pro) not a wordpress plugin to implement the gallery - would that be a problem?
Thanks
Melanie

LikeBtn
07-22-2014, 04:49 PM
There should be no problems. If you will insert LikeBtn code manually don't forget to call the following function: http://likebtn.com/en/faq#ajax

melaniebund
07-23-2014, 11:57 AM
How do i then get it to display on each image in the gallery?
Thankyou in Advance
Melanie

LikeBtn
07-23-2014, 12:05 PM
You will need to insert LikeBtn code manually into your gallery plugin template specifying identifier paramter: http://likebtn.com/en/#settings_identifier

melaniebund
07-23-2014, 09:25 PM
Hi - am going to need a little more clarification - if i have say 1000 photographers members and each post up to 200 photos on their page, this has to be automated, i can do that with adding - identifier - pages - string?

LikeBtn
07-24-2014, 05:07 AM
Yes, for example:



<!-- LikeBtn.com BEGIN -->
<span class="likebtn-wrapper" data-lang="ru" data-identifier="PHOTO_ID"></span>
<script type="text/javascript" src="//w.likebtn.com/js/w/widget.js" async="async"></script>
<!-- LikeBtn.com END -->


Where PHOTO_ID - your photo id.