Tuesday, May 27, 2008 3:13 AM mehfuzh

Flickr Xplorer - An Asp.net MVC photo app for Flickr

I have flushed out a little project at Codeplex called "Flickr Xplorer". Its a Flickr mesh up that lets you search(user, tag, text), jump into user photos, see popular and latest stream and moreover lets you browse the whole Flickr in hacked url way (url routing easy and rocking). The application is made on Asp.net MVC preview 3  and I have used my LINQ.Flickr to communicate with Flickr. The project is an early stage, I will update with new features when possible and how you ask. You can use it as you like , host it to your server to make it a personal dashboard for your taken photos or use it for fast hand on for Asp.net MVC , mocking and of course how to use LINQ.Flickr API :-)

image

you can try out the demo here http://www.flickrXplorer.net/ (sometimes service may be unavailable due to update pardon me for that). Currently, App is tested under IE 6 & 7, Firefox 2.0+, will update for other browsers as well.

The location for the project  : www.codeplex.com/flickrXplorer.

Finally, have fun the new open source Flickr app and ping me if you have any suggestion to make it more interesting.

Enjoy!!

Updated on 29th May 2008 - Asp.net MVC preview 3

Updated on 28th June 2008 - Restructured, renamed and added social features.

Updated on Sep 29 2008 - Update to MVC 5, Please check for the newest updates in source tab and all are pushed to live.

kick it on DotNetKicks.com

Filed under: , , , , , ,

Comments

# Flickr viewer - An Asp.net MVC photo app for Flickr

Monday, May 26, 2008 4:22 PM by DotNetKicks.com

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# re: Flickr viewer - An Asp.net MVC photo app for Flickr

Monday, May 26, 2008 4:34 PM by Omi Azad

This one seems much faster than ordinary Flickr. Can't you add Upload feature with this and also an desktop application? :)

AS sky is the limit, you can try to make an desktop application and add upload to Flickr option too. That will rock!

:)

# re: Flickr viewer - An Asp.net MVC photo app for Flickr

Monday, May 26, 2008 4:38 PM by mehfuzh

Thanks, about desktop app yes i have a plan to play with WPF and LINQ.Flickr for that. :-)

# re: Flickr viewer - An Asp.net MVC photo app for Flickr

Thursday, May 29, 2008 4:21 PM by panjkov

Excellent job. A followup post with detailed explanation of development process and methodology (from where to start) would be great to see...

# Flickr web app with MVC preview 3 [Cont..]

Saturday, May 31, 2008 3:43 AM by Mehfuz's WebLog

In the my last post, I have mentioned of creating Flickr app with Asp.net MVC. In recent update I have

# re: Flickr Xplorer - An Asp.net MVC photo app for Flickr

Monday, July 21, 2008 7:38 AM by Ngoc

I want to embed Flickr photo on my website using LinqToFlickr, but when I call Authenticate from FlickrContext, it open browser and point to flickr.com/.../auth... I don't see that with FlickrXplorer since I download the sample and run it. What's wrong?

# re: Flickr Xplorer - An Asp.net MVC photo app for Flickr

Monday, July 21, 2008 8:12 AM by mehfuzh

Hi Ngoc,

If you are already logged in flickr , then  the flickr authetication process wont prompt you wih a login screen , rather it will authenticate and  it will ask for your permisson to grant the app if not previously.  I hope that you are using the lastest source code. Check www.flickrmvc.net , where there is a nice login and logout bar  the top and along with the latest source.

# re: Flickr Xplorer - An Asp.net MVC photo app for Flickr

Monday, July 21, 2008 8:36 AM by Ngoc

I only want to get some latest photos of mine to show on my website, no need to edit, upload..., only display, do I need to authenticate to Flickr?

# re: Flickr Xplorer - An Asp.net MVC photo app for Flickr

Monday, July 21, 2008 2:01 PM by mehfuzh

Nope, you dont need to authenticate, at least it does not requires you so. There is a authenticate link , if you click only then it prompts you for authentication. Again, here all the things can be done without authenticaton , you can check it live as well. Plz also, send me the link of your site or the version of source code that is taking to you to authentication without any reason.

# re: Flickr Xplorer - An Asp.net MVC photo app for Flickr

Tuesday, July 22, 2008 12:29 AM by Ngoc

It's work now without prompt authentication :). Thanks for your reply. I have another question about Linq.Flickr, maybe the last question :), how could I get WebUrl (such as www.flickr.com/.../2654901274) of a photo, I don't see any properties of Photo class that allow me to get it?

# re: Flickr Xplorer - An Asp.net MVC photo app for Flickr

Tuesday, July 22, 2008 7:03 AM by mehfuzh

When you get the photo by Id, in case detail view. Flickr response for flickr.photos.getInfo

<urls>

<url type="photopage">www.flickr.com/.../url>

</urls>

it supplies the photoPage url, which can access by photo.PhotoPage.  But it is generally string.Empty for list of photos, like flickr.photos.search

<photos page="2" pages="89" perpage="10" total="881">

<photo id="2636" owner="47058503995@N01"

secret="a123456" server="2" title="test_04"

ispublic="1" isfriend="0" isfamily="0" />

look here list the of photos retured wtih few basic info. And it is not a good way to get the photo detail everytime for all the photos, This is of course a performance issue. So, best way for you when you are showing detail, get the photo by Id then access photo.PhotoPage(it is detail view property, may be i will add comment for this property).

I am again curious to know about you and your site. please paste it here so that i can check things out and how you implemented it and where?

# re: Flickr Xplorer - An Asp.net MVC photo app for Flickr

Tuesday, July 22, 2008 8:29 AM by Ngoc

I get web url of my photos by this way, can you give me some comments :-):

FlickrContext _flickr = new FlickrContext();

           var uid = (from u in _flickr.Peoples

                      where u.Username == "ngocluu_net"

                      select u).Single().Id;

           var result = from p in _flickr.Photos

                        where p.User == "ngocluu_net" && p.PhotoSize == PhotoSize.Square

                        orderby PhotoOrder.Date_Posted descending

                        select new

                        {

                            Id = p.Id,

                            Title = p.Title,

                            Url = p.Url,

                            WebUrl = string.Format("http://www.flickr.com/photos/{0}/{1}", uid, p.Id)

                        };

           foreach (var item in result)

           {

               Console.WriteLine(item.WebUrl);

           }

PS. I'm in Vietnam, my site is still under development (using ASP.NET MVC), it's just a personal blog, when it's available on internet, I will sent you the url :).

# re: Flickr Xplorer - An Asp.net MVC photo app for Flickr

Wednesday, July 23, 2008 4:19 PM by mehfuzh

Looks good,  i will map the WebUrl to the PhotoPage for list of photos (for detail view it is already supplied by flickr), so that you  dont have to do it manually :-). I will update the API the next day , i made this comment.

# re: Flickr Xplorer - An Asp.net MVC photo app for Flickr

Thursday, July 31, 2008 9:43 AM by Ngoc

Hi Mehfuzh :)

What's hosting provider that flickrmvc.net was hosted? I'm planning to host my site but I don't know what hosting provider that support .net framework 3.5 and asp.net MVC. Can you give me some providers?

Thank you so much.

# re: Flickr Xplorer - An Asp.net MVC photo app for Flickr

Saturday, August 02, 2008 3:47 AM by mehfuzh

I use ORCS web , it supports .net 3.5.

# ASP.NET MVC Archived Buzz, Page 1

Thursday, October 02, 2008 8:11 AM by ASP.NET MVC Archived Buzz, Page 1

Pingback from  ASP.NET MVC Archived Buzz, Page 1

# ASP.NET, ASP.NET MVC, ASP.NET???????????? - ??????????????????

Pingback from  ASP.NET, ASP.NET MVC, ASP.NET???????????? - ??????????????????

# 17、ASP.NET MVC 1.0 RC 版发布了

Thursday, February 19, 2009 11:12 PM by Sample Weblog

【原文地址】 ASP.NET MVC 1.0 Release Candidate Now Available 【原文发表日期】 Tuesday, January 27, 2009 12:13 PM 今天

Leave a Comment

(required) 
(required) 
(optional)
(required)