Ext


Go Back   Ext JS Forums > Ext JS Community Forums (2.0) > Ext 2.x: User Extensions and Plugins

Reply
 
Thread Tools
  #1  
Old 11-20-2007, 07:29 AM
Animal's Avatar
Animal Animal is offline
Ext JS - Community Support Team
 
Join Date: Mar 2007
Location: East Midlands, UK
Posts: 23,352
Animal will become famous soon enough
Default 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:

__________________
ExtJs forum volunteer. No official connection to the Ext Company. I do not speak for them.
ExtJs consultancy offered. £ 50/hour. Evenings+weekends. the_bagbournes@btinternet.com

Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
See Saki's samples: http://examples.extjs.eu/
Build your own Ext: http://extjs.com/products/extjs/build/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
Reply With Quote
  #2  
Old 11-20-2007, 09:57 PM
bluethinking bluethinking is offline
Ext User
 
Join Date: Apr 2007
Posts: 12
bluethinking is on a distinguished road
Send a message via MSN to bluethinking
Default

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

Error:
=========================
row:236
error:'Ext.flickr.Viewer' is null or not an object
Reply With Quote
  #3  
Old 11-20-2007, 11:05 PM
potdarko's Avatar
potdarko potdarko is offline
Ext User
 
Join Date: Mar 2007
Posts: 40
potdarko is on a distinguished road
Default 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:

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']),
__________________
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."

Last edited by potdarko; 11-20-2007 at 11:06 PM.. Reason: provided more info... filename :)
Reply With Quote
  #4  
Old 11-21-2007, 03:36 AM
Animal's Avatar
Animal Animal is offline
Ext JS - Community Support Team
 
Join Date: Mar 2007
Location: East Midlands, UK
Posts: 23,352
Animal will become famous soon enough
Default

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

Thanks, I'll update it.
__________________
ExtJs forum volunteer. No official connection to the Ext Company. I do not speak for them.
ExtJs consultancy offered. £ 50/hour. Evenings+weekends. the_bagbournes@btinternet.com

Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
See Saki's samples: http://examples.extjs.eu/
Build your own Ext: http://extjs.com/products/extjs/build/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
Reply With Quote
  #5  
Old 11-21-2007, 03:41 AM
Animal's Avatar
Animal Animal is offline
Ext JS - Community Support Team
 
Join Date: Mar 2007
Location: East Midlands, UK
Posts: 23,352
Animal will become famous soon enough
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.
__________________
ExtJs forum volunteer. No official connection to the Ext Company. I do not speak for them.
ExtJs consultancy offered. £ 50/hour. Evenings+weekends. the_bagbournes@btinternet.com

Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
See Saki's samples: http://examples.extjs.eu/
Build your own Ext: http://extjs.com/products/extjs/build/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
Reply With Quote
  #6  
Old 12-28-2007, 07:58 PM
stever's Avatar
stever stever is offline
Ext JS Premium Member
 
Join Date: Mar 2007
Posts: 832
stever is on a distinguished road
Default

I'm playing around with this right now, is it the latest version? How is the yahoo/google part going? It looks fantastic
Reply With Quote
  #7  
Old 12-29-2007, 06:26 AM
Animal's Avatar
Animal Animal is offline
Ext JS - Community Support Team
 
Join Date: Mar 2007
Location: East Midlands, UK
Posts: 23,352
Animal will become famous soon enough
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.
__________________
ExtJs forum volunteer. No official connection to the Ext Company. I do not speak for them.
ExtJs consultancy offered. £ 50/hour. Evenings+weekends. the_bagbournes@btinternet.com

Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
See Saki's samples: http://examples.extjs.eu/
Build your own Ext: http://extjs.com/products/extjs/build/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
Reply With Quote
  #8  
Old 12-29-2007, 11:43 AM
galdaka's Avatar
galdaka galdaka is offline
Ext User
 
Join Date: Mar 2007
Location: Spain
Posts: 1,072
galdaka is on a distinguished road
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,
Reply With Quote
  #9  
Old 03-27-2008, 04:19 AM
jackcrystal jackcrystal is offline
Ext User
 
Join Date: Feb 2008
Posts: 4
jackcrystal is on a distinguished road
Default 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.
Reply With Quote
  #10  
Old 05-27-2008, 06:36 AM
misterb101 misterb101 is offline
Ext User
 
Join Date: Nov 2007
Posts: 2
misterb101 is on a distinguished road
Default 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
Reply

Thread Tools

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 08:47 AM.

© 2006-2009 Ext, LLC
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.