Answer the question
In order to leave comments, you need to log in
Share buttons, customization of images depending on the content. How to implement?
We have such a service:
Phrases change quickly on the page and the user can stop it by pressing the "stop" button, a random phrase drops out from some list.
Below are buttons where he can share the result, for example, VK: "I got the phrase such and such"
Question:
How can I share the image depending on this random choice?
That is, as I see it, let's say there are 10 phrases and, accordingly, 10 pictures for these phrases
. Each phrase has its own id. When you click on the "stop" button, this id goes into the parameters of the share button and the required url of the image corresponding to this phrase is substituted.
If anyone understands, please let me know.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question