Topic: RRrrrr... what is this?!

Hi!

Question N3 (faq)

3. My images show locally, but not when I upload them to my webserver. What are possible problems?

- Check your image paths and filenames exactly match the names specified in the XML file. Most servers are Case Sensitive. This means the letter cases in the filename must exactly match those in the XML document. - OK, the same filenames, same exstensions, same path etc.

- Another possible problem is if your webserver has  'Hotlink Protection' enabled. Hotlink Protection breaks SimpleViewer. Check with your webserver administrator. - OK! HP - DISABLE, many times.

And WHY?  :?:  Locally picz are show, on serverz - NOT :evil:



UPD:
I try absolute path (imagePath="http://www.toshka.ru/geogallery/chuvashia/6/images/", thumbPath="http://www.toshka.ru/geogallery/chuvashia/6/thumbs/), i try relative path. I try I thin All. BUT always find a shit


UPD2:
and about plugin for Picasa

By text`s autor: "Edit gallery options (OPTIONAL)

Once you have created your SimpleViewer gallery, you can tweak some of the gallery options by editing the generated imageData.xml file in any text editor (e.g. NotePad, TextEdit ). The first line of the XML file contains the following gallery options:"

WHAT "imageData.xml" file? Where find it?
"simpleviewer_picasa_template.zip" dont have "imageData.xml"
its function - in file "header.xml", correct manual, plz

Re: RRrrrr... what is this?!

The manual is correct. When you download the Simpleviewer template for Picasa, it comes as a .zip folder that you have to extract into Picasa. Place the files in the Web/Templates folder (I think) and the next time you run Picasa, Simpleviewer should be an option when you choose "Folder - Export as Web Page".

After you export your images through Picasa, you will have a folder that has a few files and a couple of folders in it. The folders will contain your images and thumbnails, and if you don't move anything, then you don't have to change the paths in the ImageData.xml file.

If everything here is working just fine but your images won't show, then there are a couple of things you can try.
1. make sure the images are saved as RGB instead of CMYK
2. make sure the images are saved as "non-progressive"
3. make sure the file extension matches what is in the .XML document (.jpg is different than .JPG)
4. post the URL so someone can look at it a little more closely and try and figure out what is wrong.

If none of this works, then I don't know what to tell you...

Re: RRrrrr... what is this?!

about Picasa - I think I understand, but deal with buildgallery.php and problems show picz on server side - its as usual actually. not work. sad

see example - http://www.toshka.ru/geogallery/chuvashia/6/

picz are not show, but locally all work properly

MODYFIED parts of code:

buildgallery.php

// Set Gallery options by editing this text:

$options .= '<SIMPLEVIEWER_DATA maxImageDimension="750" textColor="42A4EC" frameColor="A8A4A3" bgColor="ffffff" frameWidth="8" stagePadding="30" thumbnailColumns="4" thumbnailRows="3" navPosition="left" navDirection="LTR" title="TOSHKA.RU GALLERY" imagePath="" thumbPath="">';

$xml .= '<CAPTION><![CDATA[<A href="images/'.$key.'" target="_blank"><U>Open image in new window</U></A> <font face="Times" size="20">Big times text</font><b>bold text</b><u><a href="index.html">link text</a></u><br>New line of text]]></CAPTION>';

index.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>TOSHKA.ru GEO GALLERY</title>
<script type="text/javascript" src="flashobject.js"></script>
<style type="text/css">   
    body {
        background-color: #ffffff;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
    }

    #header {
        background-color: #ffffff;
        width: 100%;
        height: 60px;       
    }
   
    #footer {
        background-color: #ffffff;
        width: 100%;
        height: 35px;       
    }
   
    #flashcontent {
        width: 100%;
        height: 760px;       
    }

        .style1 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9px;

        }
       
</style>
</head>
<body>


<div id="header">


<table width="186" border="0" align="left">
  <tr>
    <td width="180"><a href="../../index.html"><img src="../../../generalpicz/toshkaru.jpg" border="0" alt="toshka.ru" width="176" height="47" longdesc="http://www.toshka.ru" /></a></td>
  </tr>
</table>

<table width="600" height="55" border="0" align="left">
  <tr>
    <td>
       <table width="500" height="40" border="0" align="right">
          <tr valign="bottom">
            <td align="center"><span class="style3"><a href="../../../aboutme.html" title="about me" target="_self">about me</a> | <a href="http://paffyz.livejournal.com/" title="LJ" target="_blank">LJ</a> | <a href="../../../mytravel.html" title="travel" target="_self">my travel</a> | <a href="http://photo.toshka.ru" title="my photos" target="_self">my photos</a> |
            <a href="../../../mylibrary.html" target="_self">my library</a> | <a href="http://guestbook.toshka.ru" title="guest book" target="_self">guest book</a></span> </td>
         </tr>
      </table>
    </td>
  </tr>
</table>


</div>

    <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 FlashObject("viewer.swf", "viewer", "100%", "100%", "6", "#ffffff");   
        fo.addParam("quality", "best");           
        fo.write("flashcontent");   
    </script>
   



<div id="footer">

<table width="760" border="0" align="right">
  <tr>
    <td width="92">

<---- counts--->
   
</td>
  </tr>
</table>


</div>
</body>
</html>

so... my XML file


<?xml version="1.0" encoding="UTF-8" ?><SIMPLEVIEWER_DATA maxImageDimension="760" textColor="42A4EC" frameColor="A8A4A3" bgColor="ffffff" frameWidth="8" stagePadding="30" thumbnailColumns="4" thumbnailRows="3" navPosition="left" navDirection="LTR" title="TOSHKA.RU GALLERY" imagePath="../images/" thumbPath="../thumbs/">
    <IMAGE><NAME>nacmuzey.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>muzpiv.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>chuvhome.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>vipusk.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>housez1.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>herle.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>cheb_proch4.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>cheb_proch3.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>cheb_proch2.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>cheb_proch1.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>0km.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE>
<IMAGE><NAME>cheb_proch.jpg</NAME><CAPTION>&nbsp;</CAPTION></IMAGE></SIMPLEVIEWER_DATA>

Re: RRrrrr... what is this?!

Works here in IE and FF. Try clearing your cache.

Felix Turner
SimpleViewer Support Team.