-
20 Nov 2007 4:29 AM #1
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:
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
20 Nov 2007 6:57 PM #2
nice job!
but it can't work well in IE6.
Error:
=========================
row:236
error:'Ext.flickr.Viewer' is null or not an object
-
20 Nov 2007 8:05 PM #3
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."
-
21 Nov 2007 12:36 AM #4
Ah, a classic mistake! Just shows I never use IE!
Thanks, I'll update it.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
21 Nov 2007 12:41 AM #5
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.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
28 Dec 2007 4:58 PM #6
I'm playing around with this right now, is it the latest version? How is the yahoo/google part going? It looks fantastic
-
29 Dec 2007 3:26 AM #7
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.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
29 Dec 2007 8:43 AM #8
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,
-
27 Mar 2008 12:19 AM #9
-
27 May 2008 2:36 AM #10
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


Reply With Quote
