Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
stony
Topic Author
Posts: 18
Joined: 24 Mar 2012, 18:14

Imagevue/Fotomoto Integration and Wordpress Gallery Access

26 Mar 2012, 12:35

Hi,

I have also written the Fotomoto people about this, trying to figure out what I am doing wrong.

My Imagevue site with Fotomoto looks like it is working great at http://fracticon.com which points to a subdirectory at my w8r.com domain: http://fracticon.w8r.com.

However, when I bring the Imagevue script into my Wordpress page and access it, while Imagevue works okay (there seem to be some Flash overlaps with transparency issues I can live with) the Fotomot buttons do not work: http://w8r.com/design-gallery.

I have done what I can with the Fotomoto dashboard to date and have also installed the Fotomoto plugin for Wordpress in API Mode (it insists) and added the site to my Fotomoto dashboard. I know these are Fotomoto issues, but was wondering if anyone else was doing this and easily resolved it?

Simply put, Imagevue works fine with Fotomoto as a standalone at my domain address for it. When the script is put into Wordpress, Fotomoto functionality disappears, whether the plugin is installed or not.

Thanks!

Steve
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

27 Mar 2012, 02:39

The problem is, Imagevue, embedded into Wordpress or not, is still basically unrelated to Wordpress because it does not interact or communicate with Wordpress in any way.

Now I checked your link http://w8r.com/design-gallery, and regardless of any "Wordpress fotomoto plugins" you have activated, I looked in the source and there was no Fotomoto javascripts included there. Just for reference, you can forget about having to use separate wordpress fotomoto plugins to get fotomoto to work in Imagevue.

The bottom line here, is that it works in your original Imagevue gallery because the index container file here, embeds various scripts including the Fotomoto JS (javascript) that is required to run Fotomoto. In your Wordpress, you have embedded Imagevue successfully, but only the SWF file without any javascript or capabilities to interact with Fotomoto. You will need to also embed the javascript necessary into the wordpress page where you have Imagevue.

To find what you need, go here, and click "view source" in your browser:
http://w8r.com/imagevue/
You will see a code:
Code
<script type="text/javascript">
		// <![CDATA[
			$(window).load(function () {
				$.getScript('http://widget.fotomoto.com/stores/script/d38be31a98741bc78fd9a5f7755c33a27b95602d.js?api=true&aid=38e40b1303333859', function () {
					window.getCaptions = function(captions) {
						document.getElementById('imagevue').sendCaptions(captions);
					}
					window.getImageProducts = function(products) {
						document.getElementById('imagevue').sendImageProducts(products);
					}
				});
			});

		// ]]>
		</script>
This needs to be added to the Wordpress page where you have Imagevue embedded. So how to do this? There are perhaps a few options, but the easiest would perhaps be to use this plugin:
http://wordpress.org/extend/plugins/scripts-n-styles/

After installing this plugin, you can go to the admin page or post where you have the Imagevue embedded, and then scroll down to "scripts n styles" and add the code above (without the <script> tags):
Image

Complicated, yes, but unfortunately Imagevue needs some specific javascripts when using special 3rd party functionality like fotomoto. This is added automatically with the Imagevue documents (index), but needs to be amended manually in your Wordpress. Tell me how it goes ...
 
User avatar
stony
Topic Author
Posts: 18
Joined: 24 Mar 2012, 18:14

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

27 Mar 2012, 11:45

Hi Karl,

Thanks for the response. I tried that script on the page a couple days ago, same results so I removed it trying to get down to some plain vanilla debugging.

I downloaded that plugin you suggested and installed it but it would not activate after five attempts so I just added it atop the Imagevue script on my page. I have it up now for you to look at and let me know what to do next.

Also, I currently have NextGen Gallery on my site with the NextGEN Scroll Gallery, jQuery Colorbox, and Effects for NextGEN Gallery all activated plugins. Not sure if there is any interference there, just so you know.

I also have the Fotomoto Version 1.1.6 plugin for WordPress installed but not activated.

Thanks.

Stony
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

28 Mar 2012, 03:41

Well, I can see you have added the javascript directly to the page, and I don't think it is correct. First of all, it might need to be within the <head> tag of your gallery, where other javascripts are ... also, because of the nature of wordpress, it has added lots of html junk, seemingly corrupting the fotomoto javascript:
Code
<p><script type="text/javascript">
      // < ![CDATA[
         $(window).load(function () {
            $.getScript('http://widget.fotomoto.com/stores/script/d38be31a98741bc78fd9a5f7755c33a27b95602d.js?api=true&aid=38e40b1303333859', function () {
               window.getCaptions = function(captions) {
                  document.getElementById('imagevue').sendCaptions(captions);
               }
               window.getImageProducts = function(products) {
                  document.getElementById('imagevue').sendImageProducts(products);
               }
            });
         });</p>
<p>      // ]]>
      </script>
There are several <p> tags in there, as well as some > junk ... That is why I recommend that plugin. As for activating it, I don't know but it wouldn't activate? That is strange ... Try installing it manually?

No there should not be any complications with other javascript, but the fotomoto javascript needs to get added properly to the <head>
 
User avatar
stony
Topic Author
Posts: 18
Joined: 24 Mar 2012, 18:14

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

28 Mar 2012, 11:29

Karl, thanks. good point about the
Code
<p>
tags which don't belong in the
Code
<head>
tag. I will see what I can do about getting the scripts where they belong and get back to you. The recommended Scripts plugin wanted to update today and did but still hangs when trying to Activate. S
 
User avatar
stony
Topic Author
Posts: 18
Joined: 24 Mar 2012, 18:14

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

28 Mar 2012, 18:33

I downloaded and activated CSS & JavaScript Toolbox plugin and it said it updated the page. You can now see the script in the head tag. It still does not work. got this message in the plugin comment area:

Warning! Please make sure to validate added CSS & JavaScript codes, the plugin doesn't do that for you!

I'm pretty close to giving this up....s
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

28 Mar 2012, 23:49

It looks like you now have the javascript embedded correctly, but its still not working ... Looking closer at your issue, I am thinking its related to your Fotomoto setup with domains. What domains do you have enabled in your Fotomoto admin? You are operating with fracticon.com, fracticon.w8r.com and w8r.com ... I can see Fotomoto works for fracticon.com, but unless you have enabled w8r.com also, it may not work correctly on this domain.

Unfortunately, these things get complex because there are so many pieces that need to come together. If the above does not solve it, I would be happy to take a look into this personally, but I would need login to your WP admin as well as login to your fotomoto account.

Sorry for the inconvenience - If I could make these things easier, I would!
 
User avatar
stony
Topic Author
Posts: 18
Joined: 24 Mar 2012, 18:14

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

29 Mar 2012, 00:12

I have those three listed already as well as http://w8r.com/design-gallery.

Also, I noticed tonight some of the images on fracticon.com do not have the fotomoto icon on them, have no idea why, All are for sale.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

29 Mar 2012, 03:50

stony wrote:I have those three listed already as well as http://w8r.com/design-gallery.
I can't say that I understand why its not working ... but all things have a reason, and I wouldn't mind taking a closer look, but I would need access to your Wordpress admin, or some FTP.
stony wrote:Also, I noticed tonight some of the images on fracticon.com do not have the fotomoto icon on them, have no idea why, All are for sale.
What fotomoto icon do you mean? I doubt this is related in any case, because in the end of the day, I can see that the wordpress version simply is not communicating with Fotomoto, and this is related to embedding the gallery and the javascript code somehow.
 
User avatar
stony
Topic Author
Posts: 18
Joined: 24 Mar 2012, 18:14

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

29 Mar 2012, 10:36

The fotomoto shopping cart does not show up for all images, only some. Not related to Wordpress as it is only Imagevue installed in its own directory and accessed there apart from WP. If I go here: http://fracticon.com

And I choose the first offering of Community from the Browse Collections option, when I mouse over the image that comes up it gives me four options: zoom +, zoom -, share, and the fotomoto shopping cart.

When I choose another image, depends as this is not consistent, but just now I chose to look at the category Dreamscapes. When the image came up for that offering and I moused over it, there was no fotomoto icon anymore.

I could choose another category and same thing, hit or miss, maybe the fotomoto icon shows up, maybe it doesn't.

----

I do not have any problem giving you access to my server or fotomoto account, email me!

Steve
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

30 Mar 2012, 00:42

Ok, just for clarity - now we are discussing a problem related to Fotomoto and 100% unrelated to Wordpress right?

I checked your gallery, and also noticed it seems fotomoto purchase buttons are not appearing correctly for some reason. I am not quite sure whats going on, but would you be able to provide login to your Imagevue admin as well as login to your fotomoto account? I need to do some in-depth diagnostics for this ...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

05 Apr 2012, 07:13

Sorry for the late reply ... I made a small change in your settings. Does Fotomoto work properly now?
http://fracticon.w8r.com/

It seems to show up correctly on all pictures now as far as I can see ...
 
User avatar
stony
Topic Author
Posts: 18
Joined: 24 Mar 2012, 18:14

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

06 Apr 2012, 11:50

Seems to... thanks. What exactly did you do? Also, maybe just to be sure it works correctly, you should buy something... :?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

07 Apr 2012, 00:15

stony wrote:Seems to... thanks. What exactly did you do? Also, maybe just to be sure it works correctly, you should buy something... :?
It may in fact have been a small bug in Imagevue ... Because since you only had one image in each folder, Imagevue automatically shows the image directly instead of showing thumbnails (no need for only one thumbnail). However, it seems this functionality may have interfered with Fotomoto functionality somehow ... Instead I manually set your folders to start in image mode, and this intertwines perfectly with Fotomoto.
 
User avatar
stony
Topic Author
Posts: 18
Joined: 24 Mar 2012, 18:14

Re: Imagevue/Fotomoto Integration and Wordpress Gallery Acce

07 Apr 2012, 11:16

Cool. Glad I could help you find your bug. Speaking of bugs, when I uncheck the option to upload and overwrite in settings for uploader, it still insists on staying checked when I actually upload. Not sure if you were ever planning on returning to the issue I had trouble with when I posted here but it remains unresolved. I removed your access privileges so let me know if you can tell me how we get the fotomoto shopping cart to work in my blog shop. Thanks! S