Not signed in (Sign In)
    • CommentAuthorshaboomi
    • CommentTimeMay 6th 2010
     
    How would I get cool iris to open the links in the same window rather than a new one?

    I've heard of references to "getURL(this._parent.node.attributes.url,"_self");" but not sure that we can change that or where to change it

    Many thanks
    • CommentAuthorGogs
    • CommentTimeMay 11th 2010
     
    Set

    linkTarget=_top

    as one of your flashvars and that should do the trick. Let me know if you are unclear on how to add/edit flashvars.
    • CommentAuthorRook1970
    • CommentTimeMay 18th 2010
     
    Gogs,

    When I click on an image in my gallery, it's opening up two tabs in the same (IE 8) browser window. Can I use your "linkTarget=_top" to solve that issue? If so, how do I implement that snippet into the html code? I'm guessing it's a parameter but I have no idea how to write it.

    Thanks in advance.
    • CommentAuthorGogs
    • CommentTimeMay 18th 2010
     
    Hi Rook1970,

    See if you can read this short documentation and figure out:
    http://www.cooliris.com/developer/documentation/?p=embed

    In the documentation, there are two lines that look like these:
    - flashvars="feed=api://www.flickr.com/"
    - <param name="flashvars" value="feed=api://www.flickr.com/" />

    You will have similar lines in your html that point to your own feed. It will probably have a bunch of other characters too. Append "?linkTarget=_top&" at the end of those lines:

    flashvars="feed=api://www.flickr.com/?linkTarget=_top&"
    <param name="flashvars" value="feed=api://www.flickr.com/?linkTarget=_top&" />

    If you have more than one parameter there and it seems confusing, I would recommend putting the page online somewhere and pasting the link in this thread.
    • CommentAuthorRook1970
    • CommentTimeMay 18th 2010
     
    Actually I did figure it out a few hours ago. What I needed is how you're showing in your example of stringing multiple values together under the flashvars parameter. Thank you for replying.
    • CommentAuthorGogs
    • CommentTimeMay 18th 2010
     
    Glad it worked out. Yayy!
    • CommentAuthorClivert
    • CommentTimeMay 28th 2010
     
    Hi

    Firstly I'd like to say what a great item Cooliris is - keep up the good work :-)

    I've used the above method to open the link in the same window by clicking on the "Open this Item's Page" button next to the selected main image, but I'm looking to make this happen when a user clicks on the actual image - seems a simpler way for users of my site. The site with cooliris that I'm using as a referance is the TV.com site.

    Any help would be appreciated

    Clive

    PS - I'm not that hot on coding, so please be gentle with me :-)
    • CommentAuthorGogs
    • CommentTimeJun 8th 2010
     
    Hi Clive,

    I will try and be gentle in my answer :-)

    The only way to do this is through JavaScript. In your embed code, you need to set callback for "ItemSelection". The callback is called onItemSelected. There are more details here:

    'http://www.cooliris.com/developer/reference/javascript/?p=javascript-api'

    What this basically means is that when a user selects a certain image, cooliris can send you a notification using Javascript. Cooliris will also tell you what item was selected and will give you selected details (including link) of the selected item. You can use this knowledge to just open the link in the page itself rather than waiting for the user to click on the "Open this Item's Page" link.

    I don't have example code for you unfortunately. If you manage to get started though, I can help you through any brick-walls you might run into.

    Do realize though that when you are done implementing this feature, it doesn't give your user the option to "change his mind". You might be using his innocent-curious clicks to assume something he didn't intend, just my 2 cents.

    Good luck! When you get this running, do share with us.
    • CommentAuthorClivert
    • CommentTimeJun 11th 2010
     
    Gogs,

    Thanks for that :-)

    I've been playing with it myself aswell over the last couple of weeks and came to the same conclusion about the lack of "change your mind" ability if the click on the image causes the user to open the new page.

    I've come to a compromise by putting a direct link to the page within the image text by modifying the media RSS feed - seems to work perfectly whilst testing and allows the standard click in and click out action, as well as an obvious hyperlink (some of my targeted audience will be older and might miss the Open this Page button).

    Once I get the site finished I'll be posting a link on the forum for people to look at - and posibly contact the Cooliris team about advertising possibilities lol.

    Now all I have to do is manually write something like 50 mRSS feeds for all my walls :-(

    Clive
    • CommentAuthorGogs
    • CommentTimeJun 11th 2010
     
    Sweet stuff, Good luck! Looking forward to your wall!!
    • CommentAuthorwcww
    • CommentTimeJul 19th 2010
     
    Hello Gogs

    Having difficulty implementing same page "Open This Items Page".

    I have tried multiple appends without success. below is the params:

    <object height="'.$this->height.'" width="'.$this->width.'" type="application/x-shockwave-flash" data="http://apps.cooliris.com/embed/cooliris.swf" id="o" style="visibility: visible;">
    <param name="movie" value="http://apps.cooliris.com/embed/cooliris.swf" />
    <param name="allowfullscreen" value="true">
    <param name="allowscriptaccess" value="always">
    <param name="bgcolor" value="'.$this->backgroundColor.'">
    <param name="wmode" value="opaque">
    <param name="flashvars" value="'.$feed.'" />
    <embed type="application/x-shockwave-flash"
    src="http://apps.cooliris.com/embed/cooliris.swf"
    flashvars="'.$feed.'"
    width="'.$this->width.'"
    height="'.$this->height.'"
    allowFullScreen="true"
    allowScriptAccess="always">

    Could you help please?

    Thank you