Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Social share button #196

Closed
ghost opened this issue Sep 28, 2015 · 8 comments
Closed

Social share button #196

ghost opened this issue Sep 28, 2015 · 8 comments

Comments

@ghost
Copy link

ghost commented Sep 28, 2015

Greetings, is there a way to add a social share button to the link of the page with gallery or any desired link to be shared inside the gallery?

@willianrodrigues
Copy link

Adding a share button would be great.

@srjlulla
Copy link

srjlulla commented Jul 3, 2016

You can use https://www.addthis.com sharing tools.

Add

<script type="text/javascript">
// always refresh on URL change
window.addEventListener("hashchange", function () {
  addthis.layers.refresh();
});
</script>

before the tag to make sure that URLs are relevant. If you want to show sharing icons only in the lightbox, add the following to your CSS:

body > div > div#at-share-dock {
    visibility: hidden;    
}

body.lg-on > div > div#at-share-dock {
    visibility: visible;    
}

@max-ci
Copy link

max-ci commented Aug 4, 2016

@sachinchoolur do you plan to add lg-share.js to jQuery version of the plugin?

@sachinchoolur
Copy link
Owner

Ya sure. I will add it when i get time.

@Kirstenbr
Copy link

Hi Sachin,
I too am looking for this feature and have sent you an email... I see you have it incorporated for the .js version... would it be very difficult to add it to the jquery version?

This plugin looks really great (still tweaking the settings) and the only thing lacking that would make it really fantastic is the social media sharing! Thanks, Kirsten

@HamzaAbdullahMoh
Copy link

HamzaAbdullahMoh commented Sep 24, 2016

I believe it would be a great idea, lg-share.js and some options to tweak it.
Most of the other plugins they have this option, and I think this library is the best of the best, so why not!!?

@MatrixOfDeath
Copy link

Is there a way to add Linkdin to this lg-share plugin ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants