Page 1 of 1

Problems with mobile gallery

Posted: 14 Jan 2013, 07:46
by andreamarucci
I've tried on iOS and Android. The problem is that in mobile I browse the gallery and the first time every works ok. When I go back on the index and I click on another gallery I'm not able to tap on any of the thumbs since tapping doesn't display the bigger image.

If you want to try my gallery is here http://www.shiftcdn.it/kog/gallery

go in one of the years, choose a gallery and browse the pictures in mobile. The first time you'll see the big images if you tap. Now go back on the index, where you see the years, choose another year , choose a gallery and try to tap on one of the images. What's happen to me, and some others, is that tapping doesn't do anything at all.

My version is 2.8.6

Thank you

Re: Problems with mobile gallery

Posted: 15 Jan 2013, 00:23
by mjau-mjau
I just tried your gallery from desktop (forced mobile), from iOS simulator and from my own iPhone and I could not find anything like you describe. In all cases, I opened an image, navigated back to root, went to a different folder, and re-opened a new image ... No problems.

The only thing I can think of, is it perhaps some specific folder and/or image you are navigating to? The mobile gallery has been out for 6 months and this has not been reported earlier. Do you see this in our demo gallery also?

Re: Problems with mobile gallery

Posted: 15 Jan 2013, 03:10
by andreamarucci
Maybe the problem is the frame. I explain.

I've put the gallery on another domain for bandwidth purposes but the main domain is kog.it. The old gallery were on www.kog.it/album so I've created a frame in this address that let the user see the url www.kog.it/album instead of www.shiftcdn.it/kog/album.

Basically is a frame surrounding the gallery. Could this be the problem for your experience?

Have you any suggestion to hide the real url (shiftcdn) not using the frame?

Re: Problems with mobile gallery

Posted: 16 Jan 2013, 01:33
by mjau-mjau
I can't see that you are using an frame ...

In your gallery, if it detects a MOBILE device, it simply redirects from www.kog.it/album to www.shiftcdn.it/kog/album ... There is no frame involved. For desktops, I see you have changed it to load the imagevue2.swf file from the remote server, and this seems to be working fine.

As mentioned, it all works fine here ... Perhaps someone else can try the gallery from a mobile device and provide feedback?

Re: Problems with mobile gallery

Posted: 17 Jan 2013, 04:36
by dude001
Hi I'm having issues with the mobile gallery as well - my site: - my issue is that it won't go to the mobile page.
www.intricartmehndi.com/

i'm using the iframe as well.

Could someone please let me know what i should be looking for to fix it.

Re: Problems with mobile gallery

Posted: 17 Jan 2013, 12:56
by mjau-mjau
dude001 wrote:Hi I'm having issues with the mobile gallery as well - my site: - my issue is that it won't go to the mobile page.
http://www.intricartmehndi.com/

i'm using the iframe as well.
Yes, you are using iframe, but the link in the original post is not. When you embed Imagevue SWF into a website, it doesnt "embed" the mobile version also. You will need to add some Javascript to redirect your page to the standalone imagevue mobile gallery. I will need to check with Nick about what code you should be adding for this ...

Re: Problems with mobile gallery

Posted: 17 Jan 2013, 13:01
by dude001
mjau-mjau wrote:
dude001 wrote:Hi I'm having issues with the mobile gallery as well - my site: - my issue is that it won't go to the mobile page.
http://www.intricartmehndi.com/

i'm using the iframe as well.
Yes, you are using iframe, but the link in the original post is not. When you embed Imagevue SWF into a website, it doesnt "embed" the mobile version also. You will need to add some Javascript to redirect your page to the standalone imagevue mobile gallery. I will need to check with Nick about what code you should be adding for this ...
Thank you - I shall await your reply.

Re: Problems with mobile gallery

Posted: 17 Jan 2013, 22:17
by Nick
I believe the code from README/mobile-detect.html could work:
Code
<script>
   var url = "/imagevue/"; // Link to the Imagevue installation on your server
   if (navigator.userAgent.match(/iPhone|iPad|iPod|android|bada|blackberry|phone|mobile/i)) window.location = url;
</script>
Replace /imagevue/ with path to your Imagevue folder.

Re: Problems with mobile gallery

Posted: 18 Jan 2013, 15:03
by dude001
Nick wrote:I believe the code from README/mobile-detect.html could work:
Code
<script>
   var url = "/imagevue/"; // Link to the Imagevue installation on your server
   if (navigator.userAgent.match(/iPhone|iPad|iPod|android|bada|blackberry|phone|mobile/i)) window.location = url;
</script>
Replace /imagevue/ with path to your Imagevue folder.
I had to go back to version X2.7.6.1, for some reason the latest version made the start page stop working.

I've put the latest version here: http://intricartmehndi.com/m/

The mobile page still still doesn't work - the page gets stuck in a endless loop.

Any other ideas please - what do I need to look for?

Re: Problems with mobile gallery

Posted: 19 Jan 2013, 10:02
by Nick
I see, I have assumed you have used iframe to embed a gallery on the page.

In that case - simply add your design in iv-includes/default/gallery.index.phtml

This will effectively replace default layout with your design and mobile users will see the mobile page.

Re: Problems with mobile gallery

Posted: 20 Jan 2013, 08:23
by dude001
Nick wrote:I see, I have assumed you have used iframe to embed a gallery on the page.

In that case - simply add your design in iv-includes/default/gallery.index.phtml

This will effectively replace default layout with your design and mobile users will see the mobile page.
Thank you for your replies - I tried that and it did not work (or i did something wrong).

Just to make it clear what I've done right at the beginning:

I modified the embed_example.html to to embed the gallery.

I then renamed it to index.html.

It works when there is no index.html (my customized page ) - how to I get to do work on mobile when I have that index page, how do I make it skip it and just display the mobile version?

Re: Problems with mobile gallery

Posted: 21 Jan 2013, 02:16
by mjau-mjau
I believe Nick quoted you to edit a different file:
Nick wrote:In that case - simply add your design in iv-includes/default/gallery.index.phtml
If you are not able to edit the template file directly, and instead using custom html for your design, you can try to embed the redirect script directly:
Code
<script>
   var url = "/imagevue/"; // Link to the Imagevue installation on your server
   if (navigator.userAgent.match(/iPhone|iPad|iPod|android|bada|blackberry|phone|mobile/i)) window.location = url;
</script>
* Replace /imagevue/ with path to your Imagevue folder.

Re: Problems with mobile gallery

Posted: 21 Jan 2013, 16:53
by dude001
mjau-mjau wrote:I believe Nick quoted you to edit a different file:
Nick wrote:In that case - simply add your design in iv-includes/default/gallery.index.phtml
If you are not able to edit the template file directly, and instead using custom html for your design, you can try to embed the redirect script directly:
Code
<script>
   var url = "/imagevue/"; // Link to the Imagevue installation on your server
   if (navigator.userAgent.match(/iPhone|iPad|iPod|android|bada|blackberry|phone|mobile/i)) window.location = url;
</script>
* Replace /imagevue/ with path to your Imagevue folder.
Hi

Thank you for your patience and replies.

I've done what you and nick have said and included the code to the embedded file.

http://intricartmehndi.com/k

It doesn't work. - it is a fresh install, no additional code from me. I'm using the embed_example.html provided.

Re: Problems with mobile gallery

Posted: 23 Jan 2013, 00:17
by Nick
Sorry but you can't redirect to the same folder. Imagevue should be in a separate folder, something like /imagevue/ then you can have html version in the site root, or /k/ and redirect mobile users to /imagevue/

Re: Problems with mobile gallery

Posted: 24 Jan 2013, 14:38
by dude001
Nick wrote:Sorry but you can't redirect to the same folder. Imagevue should be in a separate folder, something like /imagevue/ then you can have html version in the site root, or /k/ and redirect mobile users to /imagevue/
Thank you - that makes sense and solves my issue.