Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Pinterest Add to Any single image

$
0
0

Replies: 0

Hi,

In my hybris website, on clicking on Pinterest for sharing the product, I see all the images available on that page, but I want a single product image to be displayed.
I have used the below code snippet:
Kindly suggest what changes need to be done?

<%@ tag body-content=”empty” trimDirectiveWhitespaces=”true”%>
<%@ taglib prefix=”spring” uri=”http://www.springframework.org/tags”%>

<div class=”a2a_kit a2a_kit_size_32 a2a_default_style”>

<!– <span >Share</span> –>
</div>

<script type=”text/javascript”>
var a2a_config = a2a_config || {};
a2a_config.templates = a2a_config.templates || {};
a2a_config.linkname = “${sharedTitle}”;
a2a_config.linkurl = “${sharedPath}”;
a2a_config.num_services = 10;
a2a_config.show_title = 1;
a2a_config.templates.pinterest = {

media : “https://localhost:9002/medias/?context=bWFzdGVyfGltYWdlc3wxMDE4OTY2fGltYWdlL3BuZ3xpbWFnZXMvaGNmL2hlNy84Nzk2MjU1NjQ5ODIyLnBuZ3xkMWEyY2ZlODE0NDViNTY2ODRjMjEzNWQ5N2E2NDY5MzAzZjdiMWE1NjQ2ZmRhN2FjNjU2YjM1Zjg5MjlmNzFl”
};

</script>
<script type=”text/javascript”
src=”https://static.addtoany.com/menu/page.js”></script>


Viewing all articles
Browse latest Browse all 59525

Trending Articles