Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
MAX-RAY
Topic Author
Posts: 3
Joined: 15 Apr 2012, 08:00

SHARING IS NOT WORKING WHEN GALLERY IS EMBEDED

20 Apr 2012, 18:38

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: SHARING IS NOT WORKING WHEN GALLERY IS EMBEDED

21 Apr 2012, 03:55

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!
 
User avatar
MAX-RAY
Topic Author
Posts: 3
Joined: 15 Apr 2012, 08:00

Re: SHARING IS NOT WORKING WHEN GALLERY IS EMBEDED

21 Apr 2012, 06:37

Thanks !
I ve been replaced php files from original last archive and it's works now