Topic: Flickr isn´t working

<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>TiltViewer</title>
<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: #000000;
        color:#ffffff;
        font-family:sans-serif;
        font-size:40;
        background-image:url(bground.jpg);
    }

    a {   
        color:#cccccc;
    }
</style>
</head>
<body>
    <div id="flashcontent">TiltViewer requires JavaScript and the latest Flash player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
    <script type="text/javascript">
   
        var fo = new SWFObject("TiltViewer.swf", "viewer", "100%", "100%", "9.0.28", "#000000");           
       
        // TILTVIEWER CONFIGURATION OPTIONS
        // To use an option, uncomment it by removing the "//" at the start of the line
        // For a description of config options, go to:
        // http://www.airtightinteractive.com/proj … tions.html
                                                           
        //TRANSPARENT OPTIONS
        fo.addParam("wmode", "transparent");
        fo.addVariable("bkgndTransparent", "true");
        fo.addVariable("showFullscreenOption", "false");
       
        //FLICKR GALLERY OPTIONS
        // To use images from Flickr, uncomment this block
        fo.addVariable("useFlickr", "true");
        fo.addVariable("user_id", "48508968@N00");
        fo.addVariable("tags", "mixed");
        fo.addVariable("tag_mode", "all");
        fo.addVariable("showTakenByText", "true");       
       
        // XML GALLERY OPTIONS
        // To use local images defined in an XML document, use this block       
        //fo.addVariable("useFlickr", "false");
        //fo.addVariable("xmlURL", "gallery.xml");
        //fo.addVariable("maxJPGSize","640");
       
        //GENERAL OPTIONS       
        fo.addVariable("useReloadButton", "true");
        fo.addVariable("columns", "5");
        fo.addVariable("rows", "5");
        fo.addVariable("showFlipButton", "true");
        //fo.addVariable("showLinkButton", "true");
        //fo.addVariable("linkLabel", "View image info");
        fo.addVariable("frameColor", "0x808080");
        //fo.addVariable("backColor", "0xDDDDDD");
        //fo.addVariable("bkgndInnerColor", "0xFF00FF");
        //fo.addVariable("bkgndOuterColor", "0x0000FF");               
        //fo.addVariable("langGoFull", "Go Fullscreen");
        //fo.addVariable("langExitFull", "Exit Fullscreen");
        //fo.addVariable("langAbout", "About");   
       
        //PRO OPTIONS
        //fo.addVariable("frameWidth", "40");
        //fo.addVariable("zoomedInDistance", "1400");
        //fo.addVariable("zoomedOutDistance", "7500");
        //fo.addVariable("fontName", "Times");
        //fo.addVariable("titleFontSize", "90");
        //fo.addVariable("descriptionFontSize", "32");
        //fo.addVariable("linkFontSize", "41");
        //fo.addVariable("linkTarget", "_self");
        //fo.addVariable("navButtonColor", "0xFF00FF");
        //fo.addVariable("flipButtonColor", "0x0000FF");
        //fo.addVariable("textColor", "0xFFFFFF");
        //fo.addVariable("linkTextColor", "0x000000");
        //fo.addVariable("linkBkgndColor", "0xFFFFFF");
        //fo.addVariable("enableSounds", "true");
        //fo.addVariable("tiltAmountIn", "75");
        //fo.addVariable("tiltAmountOut", "120");
               
        // END TILTVIEWER CONFIGURATION OPTIONS
       
        fo.addParam("allowFullScreen","true");
        fo.write("flashcontent");           
    </script>   
</body>
</html>



need help with the flickr plugin! it isn´t working... nothing shows up!
thx

Re: Flickr isn´t working

Flickr are currently experiencing an issue whereby tagged images are not showing up in searches.
Flickr are aware of the problem and are working towards a solution.
Please see this Flickr forum thread for details: http://www.flickr.com/help/forum/en-us/ … 560721827/

Steven Speirs
SimpleViewer Support Team.

Re: Flickr isn´t working

the general flickr problem is not part of my problem!

i can use the standard free version of tilt-viewer including flickr without any problems but with the pro version nothing shows up!

please check my syntax in the code!
thanks

Re: Flickr isn´t working

The above code includes the lines:

fo.addVariable("tags", "mixed");
fo.addVariable("tag_mode", "all");

This will display all photos from the chosen User ID which have the tag 'mixed' which was the reason I suggested the tags might be the problem.
Try removing (or commenting out) both 'tags' lines and see if this makes any difference.

Also, your code above includes the line:

fo.addVariable("user_id", "48508968@N00");

This is the sample Flickr User ID from Embedding TiltViewer in an Existing HTML Page
You need to replace '48508968@N00' with your own Flickr User ID.
You can find your Flickr User ID by entering your Flickr User Name on this page.

You should also use a Doctype Declaraction at the top of your HTML document.
Put the following code at the very beginning of your HTML page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Steven Speirs
SimpleViewer Support Team.

Re: Flickr isn´t working

i tried your ideas, but their are not solving the problem sad

here is the modified code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><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>TiltViewer</title>
<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: #000000;
        color:#ffffff;
        font-family:sans-serif;
        font-size:40;
        background-image:url(bground.jpg);
    }

    a {   
        color:#cccccc;
    }
</style>
</head>
<body>
    <div id="flashcontent">TiltViewer requires JavaScript and the latest Flash player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
    <script type="text/javascript">
   
        var fo = new SWFObject("TiltViewer.swf", "viewer", "100%", "100%", "9.0.28", "#000000");           
       
        // TILTVIEWER CONFIGURATION OPTIONS
        // To use an option, uncomment it by removing the "//" at the start of the line
        // For a description of config options, go to:
        // http://www.airtightinteractive.com/proj … tions.html
                                                           
        //TRANSPARENT OPTIONS
        fo.addParam("wmode", "transparent");
        fo.addVariable("bkgndTransparent", "true");
        fo.addVariable("showFullscreenOption", "false");
       
        //FLICKR GALLERY OPTIONS
        // To use images from Flickr, uncomment this block
        fo.addVariable("useFlickr", "true");
        fo.addVariable("user_id", "46798861@N05");
        //fo.addVariable("tags", "mixed");
        //fo.addVariable("tag_mode", "all");
        //fo.addVariable("showTakenByText", "true");       
       
        // XML GALLERY OPTIONS
        // To use local images defined in an XML document, use this block       
        //fo.addVariable("useFlickr", "false");
        //fo.addVariable("xmlURL", "gallery.xml");
        //fo.addVariable("maxJPGSize","640");
       
        //GENERAL OPTIONS       
        fo.addVariable("useReloadButton", "true");
        fo.addVariable("columns", "5");
        fo.addVariable("rows", "5");
        fo.addVariable("showFlipButton", "true");
        //fo.addVariable("showLinkButton", "true");
        //fo.addVariable("linkLabel", "View image info");
        fo.addVariable("frameColor", "0x808080");
        //fo.addVariable("backColor", "0xDDDDDD");
        //fo.addVariable("bkgndInnerColor", "0xFF00FF");
        //fo.addVariable("bkgndOuterColor", "0x0000FF");               
        //fo.addVariable("langGoFull", "Go Fullscreen");
        //fo.addVariable("langExitFull", "Exit Fullscreen");
        //fo.addVariable("langAbout", "About");   
       
        //PRO OPTIONS
        //fo.addVariable("frameWidth", "40");
        //fo.addVariable("zoomedInDistance", "1400");
        //fo.addVariable("zoomedOutDistance", "7500");
        //fo.addVariable("fontName", "Times");
        //fo.addVariable("titleFontSize", "90");
        //fo.addVariable("descriptionFontSize", "32");
        //fo.addVariable("linkFontSize", "41");
        //fo.addVariable("linkTarget", "_self");
        //fo.addVariable("navButtonColor", "0xFF00FF");
        //fo.addVariable("flipButtonColor", "0x0000FF");
        //fo.addVariable("textColor", "0xFFFFFF");
        //fo.addVariable("linkTextColor", "0x000000");
        //fo.addVariable("linkBkgndColor", "0xFFFFFF");
        //fo.addVariable("enableSounds", "true");
        //fo.addVariable("tiltAmountIn", "75");
        //fo.addVariable("tiltAmountOut", "120");
               
        // END TILTVIEWER CONFIGURATION OPTIONS
       
        fo.addParam("allowFullScreen","true");
        fo.write("flashcontent");           
    </script>   
</body>
</html>

hope you have some more ideas smile

Re: Flickr isn´t working

I've just tried creating a TiltViewer Pro gallery with your code and it works fine.

I took the 'web' gallery from the TiltViewer Pro download package, opened up the 'index.html' page in a plain text editor and replaced everything with the code you posted in your most recent post.  67 images were displayed.
I then uncommented out the 2 'tags' lines and, again, the gallery displayed correctly, this time showing 12 images.

So there seems to be nothing wrong with your code or your Flickr account.

Are you able to view the sample TiltViewer Flickr gallery here: http://simpleviewer.net/tiltviewer/app/
If not, you can check your Flash Player installation here: http://kb2.adobe.com/cps/155/tn_15507.html

What exactly do you see on the screen?  When you say 'nothing shows up' is the screen completely blank or do you see empty grey squares?
Perhaps one of these FAQs describes what you are seeing and provides an answer.

One thing to remember is that Flickr galleries will only work when uploaded to a web server (they will not work locally on your computer due to a security restriction in the Flash player).

One other possible cause might be the program you are using to upload your files.
Older versions of Fetch have been known to corrupt SWF files on upload.  If using an older version of Fetch, try an alternative FTP client such as Filezilla to upload your gallery files.

Steven Speirs
SimpleViewer Support Team.

Re: Flickr isn´t working

Steven Speirs wrote:

One thing to remember is that Flickr galleries will only work when uploaded to a web server (they will not work locally on your computer due to a security restriction in the Flash player)..


thanks so much!!! i tried it only local on my system...
now it works fine!