1

(6 replies, posted in TiltViewer)

...sorry - I gave you the sourcecode with a change in it: I replaced imgurl in the echo part to linkurl. Just to see what happens. But nothing happens - except that no more pictures are shown.

So don´t worry about the changed part. I´ve set it back to the original code. The problem of the size is still the same.

2

(6 replies, posted in TiltViewer)

Hi,

I´ve also had a look at the generated XML file. There are two url in this result:

<photo imageurl="http://lh6.ggpht.com/-sPDHpG-kk5s/UuP1DwDf_qI/AAAAAAAAAs8/BSk49s6PdqM/s288/BER_0136.jpg" linkurl="http://lh6.ggpht.com/-sPDHpG-kk5s/UuP1DwDf_qI/AAAAAAAAAs8/BSk49s6PdqM/s1000/BER_0136.jpg" >

The first imageurl seems to be responsible for the size 288x191. The second linkurl is the one with the original size like in the picasa-webalbum, but it seems not to be used in tiltviewer.

Here is the code of my xml.php file - I didn´t change anything in this code:

    <?php


// generates XML file for use with Tiltviewer
// Paul van Roekel - jan 2010
// www.paulvanroekel.nl

    $userid = 'xxx';
    $album = 'bilder';
   
    // build feed URL
     $feedURL = "http://picasaweb.google.com/data/feed/a … mgmax=1000";
     //$feedURL = "http://picasaweb.google.com/data/feed/a … kind=photo";

    // read feed into SimpleXML object
    $sxml = simplexml_load_file($feedURL);
   
    echo "<tiltviewergallery><photos>\n";
   
    // iterate over entries in album
    // print each entry's title, size, dimensions, tags, and thumbnail image
    foreach ($sxml->entry as $entry) {
      $title = $entry->title;
      $summary = $entry->summary;
     
      $gphoto = $entry->children('http://schemas.google.com/photos/2007');
      $size = $gphoto->size;
      $height = $gphoto->height;
      $width = $gphoto->width;
     
      $media = $entry->children('http://search.yahoo.com/mrss/');
      $thumbnail = $media->group->thumbnail[2];
      $content = $media->group->content;
      $tags = $media->group->keywords;
 
        echo "<photo linkurl=\"";
        // url van photo
        echo $thumbnail->attributes()->{'url'};
        echo "\" linkurl=\"";
        echo $content->attributes()->{'url'};
        echo "\" >";

        echo "<title>";
        //echo $title ;
        echo "</title>";

        echo "<description>";
        echo $summary ;
        echo "</description>";
        echo "</photo>";
        echo "\n";

    }
   
    echo "</photos></tiltviewergallery>";
?>

3

(6 replies, posted in TiltViewer)

Hi Steven,

thank you for your quick response!

I understand the functions. But I don´t use the gallery xml file. I´m using Picasa (in tiltviewer with xml.php) - in my web album the pictures have a sice of 800px each. None of them are 288 x 191 in these web album.

Can you explain this? If you want you can have a look in my web-picasa-gallery: https://picasaweb.google.com/1171507540 … 424/Bilder

Hope for help... Thanks...

4

(6 replies, posted in TiltViewer)

Hi,

I´m not sure if this problems are solved - I didn´t find any appropriate answers...

The shown images in my TiltViewer-Version (I´ve bought the Pro Version) with images loaded from my picasa-Webalbum on http://www.janetzko.biz/bj/tiltviewer/picsfl.php are not the same quality as deposited in picasa-Webalbum. How can I modify this? All images are not bigger than 800px. But they look very unsharp when they´re loaded by tiltviewer in the zoom-option. I found one answer relating to this question. It says: For a smoother gallery experience, add the following line to your embedding code immediately before the fo.write("flashcontent"); line:fo.addParam("quality", "best");

I did so, but nothing changed.

The other question is: in this site picsfl.php I have set fo.addVariable("maxJPGSize","300"); The original size was "640" - but when I change this to 800 like my image-sizes are, they´re shown much smaller. When I set the maxJPGSize to "300" like I did, the image-sizes are shown like I wanted it to. But then the sharpness falls off in quality. This leads then to my first question...

Hope someone can help... Thanks in advance.
bejanet