Topic: 2.1.1 and mobile view

I'm trying to get the html5 version to work with my website.

Everything is fine in IE, Firefox, etc... But when I try and view on an ipad I get 'Gallery XML not found'

any help would be appreciated.

my configuration is 

<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "gallery.cfm?key=#url.key#";
$(document).ready(function () {
    SV.simpleviewer.load('sv-container', '100%', '100%', 'ffffff', true, flashvars);
});
</script>

and my gallery xml is

<simpleviewergallery   
    showOpenButton="False"
    showFullscreenButton="False"
    showAutoPlayButton="True"
    enableLooping="True"
    imageFrameStyle="Rounded"
    frameColor="#E6E6FA"
    thumbPosition="left"
    thumbColumns="2"
    thumbRows="4"
    thumbWidth="65"
    thumbPreloading="Page"
    thumbLoadBrightness="2"
    autoPlayOnLoad="True"
    imageTransitionType="slide"
    frameWidth="10"
    imageVAlign="Top"
    imageHAlign="Left"
    stageHAlign="left"
    stageVAlign="Top"
    imageNavColor="#E6E6FA"
    showImageNav="hover"
    imageNavStyle="TRIANGLE"
    showBigPlayButton="True"
    thumbNavStyle="TRIANGLE"
    buttonBarHAlign="left"
    buttonBarPosition="overlay"
    maxImageWidth="600"
    maxImageHeight="600"
    thumbVAlign="top"
>

Re: 2.1.1 and mobile view

I guess it is related to this: http://www.simpleviewer.net/forum/viewt … p?id=11565

Re: 2.1.1 and mobile view

chgloe wrote:

I guess it is related to this: http://www.simpleviewer.net/forum/viewt … p?id=11565

Yeah... I guess that would do it.

Re: 2.1.1 and mobile view

SimpleViewer v2.1.1 has just been released and now supports the 'galleryURL' being passed to the mobile version via flashvars.
Try upgrading your gallery to v2.1.1 (download the latest version with the link sent to you in your purchase email and replace the 'svcore' folder in your gallery with the new one).

Steven Speirs
SimpleViewer Support Team.

Re: 2.1.1 and mobile view

Steven Speirs wrote:

SimpleViewer v2.1.1 has just been released and now supports the 'galleryURL' being passed to the mobile version via flashvars.
Try upgrading your gallery to v2.1.1 (download the latest version with the link sent to you in your purchase email and replace the 'svcore' folder in your gallery with the new one).

Unfortunately I am running 2.1.1 and it does not switch to html5. It just says it can't find the xml.

Re: 2.1.1 and mobile view

Whats the gallery URL?

Felix Turner
SimpleViewer Support Team.

Re: 2.1.1 and mobile view

Felix wrote:

Whats the gallery URL?

flashvars.galleryURL = "gallery.cfm?key=#url.key#";

Re: 2.1.1 and mobile view

@Markk

What is the URL of the page that is giving you the trouble, i.e. yoursite.com/thegallery/.

Mike Richards
SimpleViewer Support Team.

Re: 2.1.1 and mobile view

Mike Richards wrote:

@Markk

What is the URL of the page that is giving you the trouble, i.e. yoursite.com/thegallery/.

unfortunately its a little more complicated then that.

I've placed the pages on an alpha server, but you have to navigate to the gallery and you have to have a login which I can't give over an open forum.

Re: 2.1.1 and mobile view

Mike Richards wrote:

@Markk

What is the URL of the page that is giving you the trouble, i.e. yoursite.com/thegallery/.

I set the page up at http://alpha.swinglifestyle.com
username: DrMarkus Pass: simpleview

Just click on an image and view the gallery.

On my iphone I see Gallery XML Not Found

Re: 2.1.1 and mobile view

It appears to possibly be an extension problem with the mobile site.

When I take the xml output dynamically generated and save it to a file, name it gallery.xml and set the mobile player to use it, it works fine. The exact same file called gallery.cfm gets me an XML not found issue.

Re: 2.1.1 and mobile view

An update;

I configured my server to process xml files as dynamic files, renamed the galleryURL to gallery.xml and turned flash off... looked at the page in IE and everything is fine. HTML5 renders the image.

However, using the exact same configuration, looking in firefox, safari, chrome, on the ipad and iphone, I get a gallery xml not found error.

Re: 2.1.1 and mobile view

The login doesn't seem to be working, but I can tell you that the Mobile Version of the gallery does not currently have a lot of errors messages built into it so a "gallery xml not found error" several thing some of which are only loosely related. Some of the possibilities are that it could be a xml format issue, image url format issue, cannot find the images issue, or hotlinking issues. Can you post the XML and the file that generates it?

Mike Richards
SimpleViewer Support Team.

Re: 2.1.1 and mobile view

here is an example of the xml response

<?xml version="1.0" encoding="UTF-8"?>

<simpleviewergallery   
    showOpenButton="False"
    showFullscreenButton="False"
    showAutoPlayButton="True"
    enableLooping="True"
    imageFrameStyle="Rounded"
    frameColor="#E6E6FA"
    thumbPosition="left"
    thumbColumns="2"
    thumbRows="4"
    thumbPreloading="Page"
    thumbLoadBrightness="2"
    autoPlayOnLoad="True"
    imageTransitionType="slide"
    frameWidth="10"
    imageVAlign="Top"
    imageHAlign="Left"
    stageHAlign="left"
    stageVAlign="Top"
    imageNavColor="#E6E6FA"
    showImageNav="hover"
    imageNavStyle="TRIANGLE"
    showBigPlayButton="True"
    thumbNavStyle="TRIANGLE"
    buttonBarHAlign="left"
    buttonBarPosition="overlay"
    maxImageWidth="600"
    maxImageHeight="600"
    thumbVAlign="top"
    captionPosition="top"
    dropShadowStrength="3"
    showBackButton="yes"
    backButtonBackColor="#ffffff"
>

<image imageURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/3213slssb.jpg" thumbURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/321365.jpg"></image>

<image imageURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/627Atlantis4e30e5e1e07249slssb.jpg" thumbURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/627Atlantis4e30e5e1e0724965.jpg"></image>

<image imageURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/336Imageslssb.jpg" thumbURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/336Image65.jpg"></image>

<image imageURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/634meslssb.jpg" thumbURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/634me65.jpg"></image>

<image imageURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/318sabrinaslssb.jpg" thumbURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/318sabrina65.jpg"></image>

<image imageURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/266slsnpicsn0092slssb.jpg" thumbURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/266slsnpicsn009265.jpg"></image>

</simpleviewergallery>

Re: 2.1.1 and mobile view

You need the caption tags even if they are empty.

<image imageURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/3213slssb.jpg" thumbURL="http://www.swinglifestyle.com/u/p1c5/caramelnwhitecouple/321365.jpg">
<caption></caption>
</image>

Also try setting the file that is generating the xml to have a content-type of 'text/xml' or 'application/xml'.

http://livedocs.adobe.com/coldfusion/8/ … les_8.html
http://www.petefreitag.com/item/381.cfm

Mike Richards
SimpleViewer Support Team.

Re: 2.1.1 and mobile view

I put the caption tags in the xml and still when I turn flash off I get a 'Gallery XML Not Found error'. Also, I turned autoplayonload off (at the request of my users) and now, while the autoplay button appears, it is not clickable.

The XML I am generating is;

<?xml version="1.0" encoding="UTF-8"?>

<simpleviewergallery   
    showOpenButton="false"
    showFullscreenButton="false"
    showAutoPlayButton="true"
    enableLooping="true"
    imageFrameStyle="rounded"
    frameColor="#E6E6FA"
    thumbPosition="left"
    thumbColumns="2"
    thumbRows="4"
    thumbWidth="65"
    thumbHeight="65"
    thumbPreloading="page"
    thumbLoadBrightness="2"
    imageTransitionType="slide"
    frameWidth="10"
    imageVAlign="top"
    imageHAlign="left"
    stageHAlign="left"
    stageVAlign="top"
    imageNavColor="#E6E6FA"
    showImageNav="hover"
    imageNavStyle="triangle"
    thumbNavStyle="triangle"
    buttonBarHAlign="left"
    buttonBarPosition="overlay"
    maxImageWidth="600"
    maxImageHeight="600"
    thumbVAlign="top"
    captionPosition="top"
    dropShadowStrength="3"
    showBackButton="true"
    backButtonText="ariesgirl954"
    backButtonY="400"   
>

<image imageURL="http://photos.swinglifestyle.com/slspictures/ariesgirl954/464BodyPicslssb.jpg" thumbURL="http://photos.swinglifestyle.com/slspictures/ariesgirl954/464BodyPic65.jpg">
<caption></caption>
</image>

<image imageURL="http://photos.swinglifestyle.com/slspictures/ariesgirl954/976Mybootyslssb.jpg" thumbURL="http://photos.swinglifestyle.com/slspictures/ariesgirl954/976Mybooty65.jpg">
<caption></caption>
</image>

<image imageURL="http://photos.swinglifestyle.com/slspictures/ariesgirl954/840SAM0574slssb.jpg" thumbURL="http://photos.swinglifestyle.com/slspictures/ariesgirl954/840SAM057465.jpg">
<caption></caption>
</image>

</simpleviewergallery>

Re: 2.1.1 and mobile view

Try adding in linkURL="" linkTarget="" to your image tags, they may not be optional for the mobile gallery.

<image imageURL="http://photos.swinglifestyle.com/slspictures/ariesgirl954/464BodyPicslssb.jpg" thumbURL="http://photos.swinglifestyle.com/slspictures/ariesgirl954/464BodyPic65.jpg"  linkURL="" linkTarget="" >
<caption></caption>
</image>
Mike Richards
SimpleViewer Support Team.

Re: 2.1.1 and mobile view

I added linkURL="" linkTarget="" to tthe tag, and that did resolve the issue for ie. I still cant get the3 html5 to work in safari or firefox.

as an aside, I took the simpleviewer gallery II (the resizeable demo) and loaded it on my machine and get the same error as well.

Re: 2.1.1 and mobile view

A few modifications, most importantly removing the xml declaration and setting <cfcontent type="text/xml; charset=UTF-8" reset="Yes" /> resolved the html5 issue.

The galleries are now showing on iphones and ipads (which is the desired effect)...

Thanks for all the help.