Topic: flickrImageSize parameter isn't working correctly

I've used SV for years, and just upgraded to Pro/2.0.  Most of my galleries use a purely xml configuration, but one links to a flickr account.  I've tried setting the flickrImageSize to small, medium, large, and original (I assumed original wouldn't work because I don't have a flickr pro account), but the image size didn't change.

In this gallery, I have 13 photos that flickr would only have created a "medium" size for, and one called Airport Print dA that I uploaded and tagged as "wedding" to have a large size created.  As you can see, all the photos appear as medium, with the airport as large even though I have flickrImageSize="SMALL" in the XML.

The page is viewable here:
http://jwdphotography.com/corry/seniors.html
(BTW, I am not Corry, I am Joe.  I'm just setting this up for her because she's a bit code-a-phobic)

EDIT: Noticing that "SMALL" isn't a recognized attribute, I changed it to Medium, but the airport photo is still showing as large, so no change in the issue.

HTML code below:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta http-equiv="Version" name="version" content="080596">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" type="text/css" href="style.css" media="screen, print">
    <script src="menu.js" language="javascript" type="text/javascript"></script>
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
        var flashvars = {};
        flashvars.galleryURL = "seniors.xml";
        var params = {};            
        params.allowfullscreen = true;
        params.allowscriptaccess = "always";
        params.bgcolor = "2f4f42";
        swfobject.embedSWF("simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
    </script>
    <title>Seniors</title>
    <style type="text/css" media="screen">    
        html, body    { height:100%; }
        #flashcontent {
            height: 100%;
            width: 80%;
            float: left;
        }
    </style>
</head>

<body>
    <div style="position: absolute; height: 100%; background-color: #2f4f42; left: 49px; width: 10px;"></div>
    <img src="buttons/leftborder.png" style="float:left;" alt="Left Border">

    <div id="flashContent">
        SimpleViewer requires JavaScript and the Flash Player. 
        <a href="http://get.adobe.com/flashplayer/">Get Flash</a>
    </div>
    
    <table border="0" cellpadding="0" cellspacing="0" style="position: relative; float: left; top: 50%; margin-top: -700;">        
        <tr><td><img src="buttons/1up.png" alt=""></td></tr>
        <tr><td><a href="index.html" onmouseover="setOverImg('2','');overSub=true;showSubMenu('submenu2','button2');overSub=true;" onmouseout="setOutImg('2','');overSub=false;setTimeout('hideSubMenu(\'submenu2\')',delay);" target=""><img src="buttons/2up.png" border="0" id="button2" vspace="0" hspace="0" alt=""></a></td></tr>
        <tr><td><a href="http://corryttc.blogspot.com/" onmouseover="setOverImg('3','');overSub=true;overSub=false;setTimeout('hideSubMenu(\'submenu2\')',delay);" onmouseout="setOutImg('3','');" target=""><img src="buttons/3up.png" border="0" id="button3" vspace="0" hspace="0" alt=""></a></td></tr>
        <tr><td><a href="about.html" onmouseover="setOverImg('4','');overSub=true" onmouseout="setOutImg('4','');" target=""><img src="buttons/4up.png" border="0" id="button4" vspace="0" hspace="0" alt=""></a></td></tr>
        <tr><td><a href="mailto:core17@gmail.com" onmouseover="setOverImg('5','');overSub=true" onmouseout="setOutImg('5','');" target=""><img src="buttons/5up.png" border="0" id="button5" vspace="0" hspace="0" alt=""></a></td></tr>
        <tr><td><img src="buttons/6up.png" alt="">
    </table>
    
    <a href="index.html"><img src="buttons/banner2.png" style="position: absolute; right: 0; top: 50%; margin-top: -1000px; border-style: hidden;" border="0" alt=""></a>
</body>
</html>

XML code below:

<?xml version="1.0" encoding="UTF-8"?>

<simpleviewergallery
    title="Seniors"
    titlePosition="LEFT"
    randomizeImages="true"
    showToolTips="true" 
    useFlickr="true"
    flickrUserName="clarinetjwd"
    flickrTags="wedding"
    flickrimageSize="SMALL"
    galleryStyle="MODERN"
    textColor="b4eead"
    frameColor="bbccaa"
    frameWidth="3"
    stagePadding="40"
    thumbPosition="LEFT"
    thumbColumns="2"
    thumbRows="5"
    showOpenButton="TRUE"
    showFullscreenButton="false"    
    languageCode="AUTO"
    languageList=""        
    enableRightClickOpen="false"
>

</simpleviewergallery>

Last edited by clarinetJWD (2010-04-19 14:49:57)

Re: flickrImageSize parameter isn't working correctly

They seem to look ok to me, did you try clearing you browsers cache after making the change?

Mike Richards
SimpleViewer Support Team.

Re: flickrImageSize parameter isn't working correctly

miker wrote:

They seem to look ok to me, did you try clearing you browsers cache after making the change?

Yes, even tried another browser.  The Airport Print dA is still showing up in a larger size than medium.

Re: flickrImageSize parameter isn't working correctly

Right now the 'flickrImageSize' option is set to SMALL which is not recognized, so SimpleViewer is reverting to the default which is LARGE.

Felix Turner
SimpleViewer Support Team.

Re: flickrImageSize parameter isn't working correctly

Felix wrote:

Right now the 'flickrImageSize' option is set to SMALL which is not recognized, so SimpleViewer is reverting to the default which is LARGE.

Ah, yes.  I changed it on my local file before updating my post, but did not upload the new version.  The XML (http://jwdphotography.com/corry/seniors.xml) is now updated, but the problem persists.

Re: flickrImageSize parameter isn't working correctly

you have a typo - 'MEDUIM'

Felix Turner
SimpleViewer Support Team.

Re: flickrImageSize parameter isn't working correctly

Felix wrote:

you have a typo - 'MEDUIM'

Ahhh...ahhh..ahaha

Yes, yes I do.  Sorry about that!  It was a combination of no images large enough for "large" on flickr to begin with, then cache, then bad parameters, then a typo.  Boy, I'm having a good day. (On a related, ironic, note, I was just accepted to do a comp sci masters lol)