1. #1
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default Ext.flickr.Viewer

    Ext.flickr.Viewer


    An implementation of a search and view facility for Flickr. The class extends Ext.Panel so it can be dumped into any Ext Container and just work.

    It offers searching, paging view of the results, and automatic page size adjustment when the viewable area resizes.

    Right click on any thumbnail image offers image and owner details, and the ability to view the available larger resolution images in another tab. Also, for search results, the right click dialog offers to go to the photo's source photoset, or if not in a photoset, to the public photos of the photo owner - again in another tab.

    Eventually, the first, non-closable tab will contain some useful content and functionality.

    I've been finding photo browsing using this widget more satisfying than using Flickr's website.

    The app attempts to showcase Ext's capabilities using a Viewport, layout, a TabPanel with dynamically added tabs, popup windows, Ajax, progress bars etc.

    Any comments and suggestions welcome.

    I'll update this post with new versions as I progress it.

    The two files should just drop into examples/view and work.

    flickr.zip

    Example:


  2. #2
    Sencha User
    Join Date
    Apr 2007
    Posts
    13
    Vote Rating
    0
    bluethinking is on a distinguished road

      0  

    Default


    nice job!
    but it can't work well in IE6.

    Error:
    =========================
    row:236
    error:'Ext.flickr.Viewer' is null or not an object

  3. #3
    Ext User potdarko's Avatar
    Join Date
    Mar 2007
    Posts
    40
    Vote Rating
    0
    potdarko is on a distinguished road

      0  

    Default dreaded ,

    dreaded ,


    HEllo,

    Ty Animal for this .

    To get it to work on IE6, i had to remove 3 extra commas ',' from the file flickr.js at the end of lines:

    Code:
    403: }, ['id', 'owner', 'secret', 'server', 'farm', 'title', 'ispublic', 'isfriend', 'isfamily']),
    445: }, ['id', 'owner', 'secret', 'server', 'farm', 'title', 'ispublic', 'isfriend', 'isfamily']),
    593: }, ['id', 'owner', 'secret', 'server', 'farm', 'title', 'ispublic', 'isfriend', 'isfamily']),
    Last edited by potdarko; 20 Nov 2007 at 8:06 PM. Reason: provided more info... filename :)
    Miguel Benevides
    miguel.benevides@webidente.com
    my del.icio.us
    "I hope that when the world comes to an end, I can breathe a sigh of relief, because there will be so much to look forward to."

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    Ah, a classic mistake! Just shows I never use IE!

    Thanks, I'll update it.

  5. #5
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    Actually, it's not a Flickr viewer any more. I've been looking at the YAHOO search APIs. They can utilize JSON with a callback too. They just slot right into an Ext Store/DataView combo with very little coding.

    Google's API is a bit more involved. They seem to want to force you to use their JS objects rather than just publishing the details of how to call their service. I'll keep looking into that.

  6. #6
    Ext JS Premium Member stever's Avatar
    Join Date
    Mar 2007
    Posts
    1,407
    Vote Rating
    6
    stever will become famous soon enough stever will become famous soon enough

      0  

    Default


    I'm playing around with this right now, is it the latest version? How is the yahoo/google part going? It looks fantastic

  7. #7
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,546
    Vote Rating
    64
    Animal is a jewel in the rough Animal is a jewel in the rough Animal is a jewel in the rough

      0  

    Default


    The zip file in the first post should be the latest version. It should have two buttons in the west region, one to search Flickr and one to search YAHOO.

    The Google image search seems too involved to be very useful. It's not just a published HTTP API, it's a javascript API which you must use. It doesn't seem very flexible.

  8. #8
    Sencha User galdaka's Avatar
    Join Date
    Mar 2007
    Location
    Spain
    Posts
    1,166
    Vote Rating
    -1
    galdaka is an unknown quantity at this point

      0  

    Default


    Hi,

    I download the demo and not work in IE6. (line 872 error)

    In FF2 I view the interface but not opens any photos.

    Thanks in advance,

  9. #9
    Ext User
    Join Date
    Feb 2008
    Posts
    4
    Vote Rating
    0
    jackcrystal is on a distinguished road

      0  

    Default igoogle widget

    igoogle widget


    how can we show igoogle widget? Please help.


    Quote Originally Posted by Animal View Post
    The zip file in the first post should be the latest version. It should have two buttons in the west region, one to search Flickr and one to search YAHOO.

    The Google image search seems too involved to be very useful. It's not just a published HTTP API, it's a javascript API which you must use. It doesn't seem very flexible.

  10. #10
    Sencha Premium Member robboerman's Avatar
    Join Date
    Nov 2007
    Location
    Pijnacker, the Netherlands
    Posts
    75
    Vote Rating
    7
    robboerman is on a distinguished road

      0  

    Default unable to open zipfile

    unable to open zipfile


    Hi Animal,

    I am unable to unpack your zipfile, I have tried winrar, gunzip, unzip (linux). Nothing works, Can you tell me how you packed it and how I can extract it?

    Cheers,
    Rob