Page 1 of 1

SHARING IS NOT WORKING WHEN GALLERY IS EMBEDED

Posted: 20 Apr 2012, 18:38
by MAX-RAY
I'm using a last Imagevue X2.7.6.4
An i found, that sharing option is generating not correct link when gallery is embeded.
TESTING CONDITIONS:
FIREFOX 11
TRYING TO SHARE WHOLE PAGE OR SINGLE PICTURE TO FACEBOOK
GALLERY STARTED UP FROM EMBEDED_DEMO.HTML ( PROVIDED BY IMAGEVUEX)
Please verify this bug, because this option is very important.

Re: SHARING IS NOT WORKING WHEN GALLERY IS EMBEDED

Posted: 21 Apr 2012, 03:55
by mjau-mjau
Sorry, the embed demos are not entirely updated with all the 3rd party functionality. They are just examples how to embed Imagevue SWF file in a technical manner. To allow sharing to work properly, you need to add the correct javascript in the embed document. To see what to embed, visit your own gallery (with the default Imagevue index), view the source, and search out the following code:
Code
<script type="text/javascript">
		// <![CDATA[
			$(window).load(function () {
				$.getScript('http://s7.addthis.com/js/250/addthis_widget.js#pubid=imagevue&domready=1', function () {
					addthis.init();
					top.showAddThis = function(url, title, color, back_color, cobrand) {
						window.addthis_share = {
							templates: {twitter: '{{title}} - {{url}}'}
						}
						window.addthis_config = {
							ui_header_color: color,
							ui_header_background: back_color,
							ui_cobrand: cobrand,
							services_exclude: 'print',
							ui_use_css: false,
							data_track_clickback: true
						};
						addthis_open(document.body, "more", url, title);
					}
				});
			});
		// ]]>
		</script>
Your code may vary slightly from the above ...

If you are still having problems after adding the code, then please send your link so I can take a look!

Re: SHARING IS NOT WORKING WHEN GALLERY IS EMBEDED

Posted: 21 Apr 2012, 06:37
by MAX-RAY
Thanks !
I ve been replaced php files from original last archive and it's works now