Topic: Main Image doesn't scale

Hey, guys!
I have a big trouble ... I've downloaded the simpleviewer. I'm not sure about it's version. But I suppose that it is the latest one.
I've setup it in my html file. Here is the code below:

<!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">
<head>
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
        <script type="text/javascript">
            var flashvars = {};
            flashvars.galleryURL = "xml/compact1.xml";
            var params = {};            
            params.allowfullscreen = true;
            params.allowscriptaccess = "always";
            params.bgcolor = "ffffff";
            swfobject.embedSWF("js/simpleviewer.swf", "flashContent", "550", "550", "9.0.124", false, flashvars, params);
        </script>
</head>
<body>
<div id="flashContent"></div>
</body>
</html>

Plus, I've created the compact1.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<simpleviewergallery
    
    title=""
    textColor="FFFFFF"
    frameColor="FFFFFF"
    thumbPosition="BOTTOM"
    galleryStyle="COMPACT"
    thumbColumns="6"
    thumbRows="1"
    showOpenButton="TRUE"
    showFullscreenButton="TRUE"
    frameWidth="0"
    maxImageWidth="800"
    maxImageHeight="600"
    imagePath="images/"
    thumbPath="thumbs/"
    useFlickr="false"
    flickrUserName=""
    flickrTags=""
    languageCode="AUTO"
    languageList=""        
    
>

<image imageURL="/drupal615/sites/all/themes/bb/img/gallery/0_02.jpg" thumbURL="/drupal615/sites/all/themes/bb/img/gallery/0_02.jpg" linkURL="" linkTarget="" >
    <caption>Image Caption</caption>    
</image>

</simpleviewergallery>

But when I access that page, the main image doesn't scale! It just crops the image, and that's all sad((
I've seen the same trouble in the simpleviewer-pro forum, but I was unable to fix this issue on my case.

How can I fix it? Help pls.

Re: Main Image doesn't scale

Have you tried the FAQ? Why are my images cropped when using the Compact Gallery Style?

Mike Richards
SimpleViewer Support Team.

Re: Main Image doesn't scale

THANK YOU SO MUCH!!!
I've skipped that stuff. Thank you a lot! smile

Last edited by patison (2010-02-03 19:06:11)