S
S
SergeyKisliy2016-04-20 16:37:13
JavaScript
SergeyKisliy, 2016-04-20 16:37:13

Share the viewed photo in the gallery of the site. How to implement?

There is a photo gallery of works. When you click on a photo, a lightbox opens with an enlarged photo and a share button (fb, vk, twitter). How can it be implemented so that a specific (viewed) image can be shared? By default, the entire page is shared.
If anything, then the site is on MODX, and maybe there is a convenient plugin or gallery for such cases?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Ineshin, 2016-04-20
@SergeyKisliy

Well, for example, the same photoframe ( fotorama.io/) when opening a picture in a lightbox, will create a unique hash address for it. When you visit the site with this hash, the gallery will automatically open on the desired frame.

S
Sanes, 2016-04-20
@Sanes

How do you imagine sharing a photo from a page? It does not have a separate page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question