So I would have to use regex or some kind of text function to replace? A bit dirty. Why isn't "reasonably small" one of the options in the API? Is this deprecated?
On Dec 13, 5:49 pm, Tom van der Woerdt <i...@tvdw.eu> wrote: > A quick look on Google gave me this code : > $("#profile_image").html('<img src="' + profile_image.replace('normal', > 'reasonably_small') + '" />'); > > So just get the normal one and replace it with reasonably_small. (Of > course, the above code isn't perfect, as it will also match "normal" in > the rest of the URL, but I hope that you get the point. > > Tom > > On 12/13/10 10:44 AM, Christian Fazzini wrote: > > > Ok, how do I connect to the Twitter API to get the "reasonably small" > > size? > > >http://dev.twitter.com/doc/get/users/profile_image/:screen_nameonly > > accepts the following options: > > mini, bigger, normal > > > On Dec 13, 5:40 pm, Tom van der Woerdt<i...@tvdw.eu> wrote: > >> Well, the API returns (in my > >> case)http://a3.twimg.com/profile_images/1079883403/_MG_0016_normal.jpg. > >> Replacing "_normal.jpg" with "_reasonably_small.jpg" (so that it > >> becomeshttp://a3.twimg.com/profile_images/1079883403/_MG_0016_reasonably_sma...) > >> seems to work. > > >> Tom > > >> On 12/13/10 10:15 AM, Christian Fazzini wrote: > > >>> I know that. Thats not what I am asking for. I am wondering how > >>> Twitpic is able to get 128x128 when we can only get 73x73 as the > >>> largest thumbnail. > > >>> For example. Image I originally uploaded is stored at this url. > >>>http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390.jpg > > >>> Twitpic uses: > >>>http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_re... > > >>> On Dec 13, 4:30 pm, Tom van der Woerdt<i...@tvdw.eu> wrote: > >>>> Actually, /1/users/profile_image/tvdw returned my 500x500 image.. All I > >>>> did was upload it at twitter.com like any other user would. > > >>>> Tom > > >>>> On 12/13/10 9:10 AM, Christian Fazzini wrote: > > >>>>> How would I get 128x128? i.e. from > >>>>>http://a3.twimg.com/profile_images/290187007/n500024856_39228_3390_re... > > >>>>> There is no indication of this in the API anywhere > > >>>>> On Dec 13, 4:04 pm, Christian Fazzini<christian.fazz...@gmail.com> > >>>>> wrote: > >>>>>> How do apps like Twitpic and WeFollow use larger sized profile > >>>>>> images?? > > >>>>>> The Twitter API's largest profile image is 73x73 (http:// > >>>>>> dev.twitter.com/doc/get/users/profile_image/:screen_name) -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk