Topic: Some corrupt images in simpleviewer

Hi,

I having some trouble with pictures in the "viewer".
I seems that it dosen´t load the complete jpg images and some pictures will become partually grey when others are just fine ...
This is only happening when i run it from another computer or http://localhost and never when I browse myself to the folder..i.e C:mywebfolderindex.html

Look at my 2 pictures and you will se what im talking about.
Bad         http://pici.se/?30442
Good       http://pici.se/?30441


Sorry for my broken english =)

Ps
I´m using the Picasa2 templates to generate the gallery and
Apache/2.0.59 (Win32) , PHP 5.1.6 and flashplayer9 if it matters?
Get the same problem with Firefox,IE7,IE5





From the index.html file


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<!-- saved from url=(0014)about:internet -->

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Jul</title>

<!-- Download SimpleViewer at www.airtightinteractive.com/simpleviewer -->

<script type="text/javascript" src="swfobject.js"></script>

<style type="text/css">   

    /* hide from ie on mac */

    html {

        height: 100%;

        overflow: hidden;

    }

   

    #flashcontent {

        height: 100%;

    }

    /* end hide */



    body {

        height: 100%;

        margin: 0;

        padding: 0;

        background-color: #181818;

        color:#ffffff;

    }

</style>

</head>

<body>

    <div id="flashcontent">SimpleViewer requires Macromedia Flash.<a href="http://www.macromedia.com/go/getflashplayer/">Get Macromedia Flash.</a> If you have Flash installed, <a href="index.html?detectflash=false">click to view gallery</a></div>   

    <script type="text/javascript">

        var fo = new SWFObject("viewer.swf", "viewer", "100%", "100%", "7", "#181818");   

        fo.addVariable("preloaderColor", "0xffffff");

        fo.addVariable("xmlDataPath", "gallery.xml");   

        fo.write("flashcontent");   

    </script>   

</body>

</html>


So is it something wrong with the simpleviewer or the Apache/PHP?

Best regards
Mike

Re: Some corrupt images in simpleviewer

I'm gonna say there is something wrong with the images and not SimpleViewer :) It looks like the JPG files are being corrupted. Does it always happen with the same images? Did you try re-uploading them?

Felix Turner
SimpleViewer Support Team.

Re: Some corrupt images in simpleviewer

Problem solved:
I changed server from Apache to Cherokee and now all seams great.


Ps Thx a lot Felix for taking you the time to answer. I´m really Sorry that I had the nerve to blame Simpleviewer  :oops:

Best Regards
Mike