Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
In the slideshow I would like to add a share icon for instagram and google +.
That's why I've added the following code to my custom.css:
/ * Sharing Icon Instagram Add
=================================== * /
.pswp__button - share :: after {
content: "\ f16d";
}
/ * Add Sharing Icon to Google+
=================================== * /
.pswp__button - share :: after {
content: "\ f0d4";
}
Unfortunately that did not work, the icons are not displayed.
Do I have to insert another code somewhere?
And at which point must the link to instagram and google + be entered with credentials?
Pixelmover Rainer
Learn for a lifetime
Offline
if you're using Pangolin album templates then the .pswp__button class is not valid. That was for Photoswipe in Backlight 1 (Okapi). It's been replaced.
if you can provide a link to an album we might be able to figure out the selector.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Actually, I don't think it's possible to add sharing button code to individual images. That would probably require Matt and Ben to change the album module.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I mean the sharing icons from the slideshow view. There you can also switch off individual icons:
/ * remove the sharing icons from the slideshow view.
================================================== * /
li.share-pinterest {
display: none;
}
Here I want to add icons (and links) for instagram and google +
I use pangolin album templates.
Last edited by Pixelmover (2018-06-02 09:22:25)
Pixelmover Rainer
Learn for a lifetime
Offline
as I said, I think it would probably require Matt and Ben to change the album module.
The urls for the sharing look like they're generated from stored data in the database. So that means changing code in the pangolin-album module.
So this would be a feature request rather than something the user can change. At least that's the way I see it.
Plus, can a visitor to your site share one of your images on their Instagram or Google accounts? The existing icons allow sharing to Pintrest or tweeting an image.
If you want to add links to your own Instagram or Google accounts, you can do that in the Social Media links in your page template.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Instagram is for posting one's own work, not for sharing found images. I don't think they even have a sharing API.
As for Google+, it was a long-running gag that no one uses it. At this point, I don't think it's used enough even for the gag to pop up in conversations, because it's not a part of the conversation. I am unlikely to add Google Plus sharing buttons to Pangolin. In eliminating clutter, Google+ buttons were very low-hanging fruit.
Offline
Hi.
Thanks for the detailed posts. I probably got a lot wrong. Sorry!
Pixelmover Rainer
Learn for a lifetime
Offline
Pages: 1