Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #255797

    Hello,

    is it possible to add a facebook (and, if possible, twitter) like button (and share button) into the images in the portfolio (when an image is displayed on a lightbox) ?
    For example here (my website) http://www.natureinframe.it/portfolio-articoli/intimate-visions/ I would add a facebook button near the description of each pictures

    ThanKs

    #255806

    Hello!

    It is possible but that would require a heavy customization and unfortunately that’s beyond the scope of the support we can offer. If you really need it try contacting a specialist.

    Cheers!
    Josue

    #255887

    Ok …but yesterday Kriesi said me that is possible ( my comment was with nickname ”estetica_s” http://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990/comments?page=175 )

    Yes thats possible. the theme uses the prettyphoto lightbox plugin which allows social sharing buttons in the lightbox. this can be activated with a smple code change that we can provide if you need it ;)

    Just drop by in our support forum at https://kriesi.at/support/ once you have purchased the theme and need help :)

    do you know if is it possible to change the code ? Kriesi said ” this can be activated with a smple code change ”

    Thanks

    #255912

    Hi!

    Yeah sorry, i found the trick, open js/avia.js and look for line 845:

    elements.prettyPhoto({ social_tools:,slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh });
    

    Replace it by:

    elements.prettyPhoto({ social_tools:'<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe 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" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>',slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh });
    

    Cheers!
    Josue

    #256398

    Thanks …I replaced the code (line 829, not 845) but it doesn’t work

    #256407

    Hi!

    It works on my end:

    It may need some adjusting but it’s working. Refresh the page a few times.

    Best regards,
    Josue

    #256419

    yep, now it works! thank you :)

    #256423

    You are welcome, glad we could help :)

    Regards,
    
Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Insert social button for each pictures’ is closed to new replies.