Topic: svBuilder-Pro 2.1.0 not working with Internet Explorer 8 properly

I recently purchased the product and went to create a sample gallery and found that as many other posting here that Firefox works fine but Internet Explorer (at least version 8) does not.


This is a very simple test just to confirm the issue and find a resolution.

I'm using svBuilder-Pro v2.1.0 on Windows 7 Pro x64 and IE8
I'm using the lastest version of Flash: 10.1.85.3 as tested on Adobe site
http://www.adobe.com/software/flash/about/


My site test link: http://digitalcamerashoots.com/sites/ga … index.html

Changed Doctype and that made no difference either.

Original code generated by svBuilder:  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Replaced with code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Site validation from http://validator.w3.org/

Congratulations

The document located at http://digitalcamerashoots.com/sites/ga … index.html
was successfully checked as HTML 4.01 Strict.
This means that the resource in question identified itself as "HTML 4.01 Strict" and that we successfully performed a formal validation using an SGML, HTML5 and/or XML Parser(s) (depending on the markup language used).



Files and folders uploaded as created and permissions checked

   gallery.xml
   index.html

---images
       ocean.jpg
       ocean2.jpg

---svcore
   ¦   full.html
   ¦
   +---css
   ¦       simpleviewer.css
   ¦
   +---img
   ¦       assets.png
   ¦       caption-bg.png
   ¦       empty-pixel.png
   ¦       spinner.gif
   ¦
   +---js
   ¦       jquery-1.3.2.min.js
   ¦       simpleviewer.js
   ¦       swfobject.js
   ¦
   +---swf
           simpleviewer.swf
           simpleviewer_icc.swf

---thumbs
       ocean.jpg
       ocean2.jpg

Page source for index.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>SimpleViewer Gallery</title>
</head>

<body>
    
    <!--START SIMPLEVIEWER EMBED -->
    <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
    $(document).ready(function () {
        SV.simpleviewer.load('sv-container', '100%', '100%', '222222',true);
    });
    </script>

    <div id="sv-container"></div>
    <!--END SIMPLEVIEWER EMBED -->
    
</body>
</html>



Please assist in helping to correct what is wrong and fix it for IE8.  I have made no changes besides the Doctype for testing which did not help.

This is core basic code automatically generated from the latest version of svBuilder-Pro 2.1.0,  so one would expect it to work with IE/FF/SF browsers out of the box.

Thank you for your help with this.

Re: svBuilder-Pro 2.1.0 not working with Internet Explorer 8 properly

Chrome has the same issue as IE, both browsers are issues with the gallery.xml and the image locations. If I navigate to it directly I get a 404 not found error. You have redirects setup so that you can use the www subdomain with your domain. If you have hotlink protection setup please either disable it  or add rules to allow both domains you are using. You need to also setup a crossdomin.xml to deal with flash security issues.

http://digitalcamerashoots.com/sites/ga … allery.xml

Mike Richards
SimpleViewer Support Team.

Re: svBuilder-Pro 2.1.0 not working with Internet Explorer 8 properly

Thank you for the reply Mike.


Yes, you're correct that there is a redirect for www which nearly all sites have.
I don't believe though that the cross domain issue is in play here (but I could be wrong).
All images and files are within the same domain by code (at least as I view it) the redirect is from Apache and all code is basic and not hard coded to take www into account either for or against.
If I were calling data from another sub-domain then the cross-site would apply.
http://kb2.adobe.com/cps/142/tn_14213.html

Regardless, I've created the crossdomain.xml file and placed it on the root of each and the Gallery still does not function on IE but does on FF

<?xml version="1.0"?><!DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*.digitalcamerashoots.com" />
</cross-domain-policy>

There is currently no hotlink protection on that site but you cannot openly browse the files as that would be a potential security issue.
From within IE you can right click a box and open an image in a new window with no error
http://www.digitalcamerashoots.com/site … /ocean.jpg

From either Firefox or IE I can open the link directly to the gallery.xml file.
http://digitalcamerashoots.com/sites/ga … allery.xml
http://www.digitalcamerashoots.com/site … allery.xml

The 404 error you're referencing in your link is invalid as you left out the directory /testing/
http://digitalcamerashoots.com/sites/ga … allery.xml



  <?xml version="1.0" encoding="UTF-8" ?> 
- <simpleviewergallery useFlickr="false" resizeOnImport="true" cropToFit="false">
- <image imageURL="images/ocean.jpg" thumbURL="thumbs/ocean.jpg" linkURL="images/ocean.jpg" linkTarget="_blank">
- <caption>
- <![CDATA[ 
  ]]> 
  </caption>
  </image>
- <image imageURL="images/ocean2.jpg" thumbURL="thumbs/ocean2.jpg" linkURL="images/ocean2.jpg" linkTarget="_blank">
- <caption>
- <![CDATA[ 
  ]]> 
  </caption>
  </image>
  </simpleviewergallery>

Both links work correctly in Firefox (what is Firefox doing different than the other browsers to allow it)
http://digitalcamerashoots.com/sites/ga … index.html
http://www.digitalcamerashoots.com/site … index.html

Since index.html is the default document that Apache looks for you actually don't even need to reference index.html and it will work properly in Firefox.
Internet Explorer also pulls up the page as it's a function of Apache and not the browser in question, but once open it still cannot show the gallery or images.

http://www.digitalcamerashoots.com/site … y/testing/
http://digitalcamerashoots.com/sites/gallery/testing/

Re: svBuilder-Pro 2.1.0 not working with Internet Explorer 8 properly

The 404 error you're referencing in your link is invalid as you left out the directory /testing/
http://digitalcamerashoots.com/sites/ga … allery.xml

Woops my bad, ctr+c failed me.

If I navigate directly to one of your images and then navigate to the gallery, the gallery will display that image. This usually turn out to be security issue and the most common of those are either a cross domain or hotlink issue (or a nonstandard international domain name which yours obviously isn't). Have you tried absolute urls for your images in your gallery.xml? Also what FTP app are you using?

Mike Richards
SimpleViewer Support Team.

Re: svBuilder-Pro 2.1.0 not working with Internet Explorer 8 properly

I use FileZilla client for FTP.  If images were corrupted by ftp then Firefox wouldn't show them either.

I would rather not have to use absolute paths as that makes it very difficult to move a gallery if you want to do so later on.  I have a gallery with almost 200 images to complete and I'd have to massage the output of your tool to do so which would not be a fun task to do either.

I'll do some more research from other sites and see what I can find, though you'd think if it was a cross-scripting error or permission error  that Firefox would obey the directive as well and not load the gallery.

Re: svBuilder-Pro 2.1.0 not working with Internet Explorer 8 properly

I use FileZilla client for FTP.  If images were corrupted by ftp then Firefox wouldn't show them either.

Actually we have more issues with the SWF being corrupted, but FileZilla is one of the FTP apps we recommended so that shouldn't be the problem. Usually if the images are corrupted they show up, they just show partially with the rest of the image grey.

I would rather not have to use absolute paths as that makes it very difficult to move a gallery if you want to do so later on.


I can understand that, but if it works with your test gallery that gives us one more clue towards how your server is functioning.

if it was a cross-scripting error or permission error  that Firefox would obey the directive as well and not load the gallery.

Yes, it's strange to think it would happen that way, but that is what happens when none of the browsers follow standards and just go off and do their own thing. Each one has areas that they feel are more important security wise so they function differently even in that aspect.

You had said you haven't turned on any security features, have you double checked your .htaccess and site control panel to see if your host provider has something turned on be default?

Mike Richards
SimpleViewer Support Team.

Re: svBuilder-Pro 2.1.0 not working with Internet Explorer 8 properly

I asked my hosting provider for some input and they basically said it was out of their scope for support.  Great...

Okay, I'll keep researching the issue.  It must have something to do with sub-domains, or cross-scripting, just have to find the real cause.  Maybe I can ssh into the server and see if I can access any logs that might help shed some light on it.

Thank you again for your input.

Cheers