Danny Douglass created an excellent flickr photo gallery for Blogengine.NET. It's located here. Since GoDaddy is my host, I have to deal with medium trust issues, so Danny's gallery wouldnt work for me. Fortunately, Danny released the source for this module, so I modified it for my purposes.
After debugging a bit, I found that the security on my IIS 7 hosted site wouldn't allow me to cache downloaded flickr photos. You would think that I could just point the cache folder to one on my site with write permissions. Unfortunately, the FlickrNET provider that the gallery was built with asks for a location in the <drive>:\<folder> format (for example: c:\Inetpub\temp). I noticed that it would be possible to find out the drive/folder location of my site on my webhost, but its likely my website wouldn't be able to access the local file system, so I didn't go wandering down that road. Besides, who knows when they might change it.
To get things going, I simply disabled the the flickr caching. The first function that is called when the gallery is accessed is called GetPhotoSets(). I added Flickr.CacheDisabled = true; as the first line of module to make this happen. I rearranged some other code as well, but this was the main thing.
To use my modified version:
BlogEngineFlickrPhotos.zip (115.79 kb)
Web.Config (14.29 kb)
8/24/2008 5:59:14 AM
I'm also use godaddy to host my page and getting the error below while using your code. any ideas how to fix this? I'm not a dotnet developer though :-( Server Error in '/' Application. -------------------------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?) Line 3: using System.Collections.Generic; Line 4: using System.Configuration; Line 5: using System.Linq; Line 6: using System.Text; Line 7: using FlickrNet; Source File: d:\hosting\vp\App_Code\FlickrConnector\Gallery.cs Line: 5
vp
8/24/2008 1:25:02 PM
I tried the tweak you suggested and getting the error below. any idea how I can fix this? The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)
8/25/2008 7:36:21 AM
I have my website running on IIS 7 in integrated mode using .NET 3.5. Basically, your error is a result of not referencing .NET 3.5 libraries, linq to be specific. I have attached my web.config; you could use it as a template to modify your web.config. By doing this, your site would reference .NET 3.5 assemblies as opposed to only .NET 2.0. In the meantime, I will recompile an assembly for use in a .NET 2.0 environment. My apologies...I should have mentioned that I converted my site to .NET 3.5. Let me know if this helps!
Alex Tafoya
8/25/2008 7:39:27 AM
I should mention that you would need to be using IIS7 in integrated mode for my web.config to be of any use. Cheers!
8/25/2008 3:45:24 PM
Could you please send me the libraries for .NET 2.0 alteast. Thanks!
8/25/2008 4:33:08 PM
I can't download your web.config file either...
8/29/2008 10:46:31 AM
You should be able to download the files now. I upgraded to a new build and somehow broke the original links.
Alex
11/28/2008 11:57:55 PM
I figured out how to get this working with GoDaddy running under IIS, with .NET 2.0. If anyone needs the files, please let me know.
Phil
4/14/2009 9:31:55 AM
Could you just send me the libraries for .NET 2.0 alteast please. Many thanks
Leadership Expert
4/15/2009 10:09:19 AM
Several people have shown interest in this. I am going to revive it. Would .NET 3.5 be okay?
6/12/2009 12:07:59 AM
I've only just jumped onto godaddys windows hosting a week ago, so I'm sure this will come in handy once I've sorted the basics out!
Leadership Styles
7/1/2009 11:07:00 AM
Thanks for sharing this great article! That is very interesting Smile I love reading and I am always searching for informative information like this.
tukang nggame
7/8/2009 8:42:18 AM
Flickr is the best and big source for photo collection.
Halifax dentists
7/22/2009 7:58:59 AM
Everywhere is seo test.. Strange. I like your blog. Is it wordpress?
biodental
7/22/2009 8:50:23 AM
"Seo test" does look like a spamming bot. I definitely need to implement some anti-spam features. This site runs on the blogengine.net blog engine, along with some additions I've made. The theme is an original I created. Did you create biodentalbudapest.co.uk?
7/24/2009 10:08:17 AM
I see u are using BLogEngine from microsoft on this website - Looks absolutely excellent. I conclude it will be a approved alternative to wordpress. Thanks for letting me comment on your attractive blog by the way. Regards, Martin.
The Linden Method
10/1/2009 1:13:09 PM
Good post and nice design, is this a regular template?Ed Hardy
Ed Hardy
10/1/2009 8:36:04 PM
The skin is an original. Thanks Ed.
12/12/2009 4:19:22 PM
good
Ed Hardy Clothing
3/31/2010 10:12:38 PM
Hello, I really admire the layout of your site. What theme are you using?
Carie Freemon
4/20/2010 11:43:48 PM
I love this blog
Steven
4/23/2010 11:40:51 AM
Wonderful!
Serena Krise
6/24/2010 1:53:48 AM
Be proud of your smile again! Visit this top notch Seattle Dentist and get results that put that smile back on your face.
Seattle Dentist
9/11/2010 2:58:28 PM
Hi, I just wanted to tell you how much I enjoyed reading the contents of your blog. I think that everyone should benefit from reading this blog as it has a lot of useful information that could not be gained so easily without reading your informative posts. Anyway, I'd just like to say thanks for taking your precious time to write this valuable post as I'm more than 100% sure that I will not be the only one that should benefit a great deal from this. I'm going to get back to this blog periodically to check and see if there are more such posts written by you. Keep it up mate! I can't wait to see your next posts!
Mobile Phones Reviews
9/11/2010 2:58:56 PM
9/24/2010 10:28:47 PM
Very useful cheers, It is my opinion your current followers would certainly want significantly more posts along these lines carry on the excellent work.
Tim Anderson
10/2/2010 10:50:35 AM
At first I have to manually install the IIS7 right? I am knew and would love to add this application on my blog. I am an avid photographer and this is a must for me. Thanks!
outdoor curtains
10/2/2010 10:51:05 AM
10/2/2010 10:51:25 AM
10/2/2010 10:51:39 AM
10/2/2010 10:51:52 AM
10/2/2010 10:52:13 AM
10/2/2010 10:52:53 AM
10/24/2010 6:01:59 PM
Hi Alex and everybody!I have tried it on another hosting, because I don't like GoDaddy so much, and I want to share that it works too!
Velo hollandais
10/24/2010 6:02:17 PM
1/26/2011 5:56:18 AM
Thank! for good post. Useful for me and another one.
Amanda
6/9/2011 6:27:28 AM
Thanks for sharing how to do this! I've been having trouble using it on my site but now that you shared how to incorporate the Flickr gallery on a GoDaddy site, I can easily do this! Thanks!
What to Invest In
6/9/2011 6:29:32 AM
7/16/2010 2:27:15 AM
Pingback from topsy.com Twitter Trackbacks for alextafoya.com | Flickr Gallery Modified for GoDaddy [alextafoya.com] on Topsy.com
topsy.com
Name* Required Please choose another name
E-mail*
Country [Not specified] Afghanistan Albania Algeria Argentina Armenia Australia Austria Azerbaijan Bahrain Bangladesh Belarus Belgium Belize Bermuda Bolivarian Republic of Venezuela Bolivia Bosnia and Herzegovina Brazil Brunei Darussalam Bulgaria Cambodia Canada Caribbean Chile Colombia Costa Rica Croatia Czech Republic Denmark Dominican Republic Ecuador Egypt El Salvador Estonia Ethiopia Faroe Islands Finland France Georgia Germany Greece Greenland Guatemala Honduras Hong Kong S.A.R. Hungary Iceland India Indonesia Iran Iraq Ireland Islamic Republic of Pakistan Israel Italy Jamaica Japan Jordan Kazakhstan Kenya Korea Kuwait Kyrgyzstan Lao P.D.R. Latvia Lebanon Libya Liechtenstein Lithuania Luxembourg Macao S.A.R. Macedonia (FYROM) Malaysia Maldives Malta Mexico Mongolia Montenegro Morocco Nepal Netherlands New Zealand Nicaragua Nigeria Norway Oman Panama Paraguay People's Republic of China Peru Philippines Poland Portugal Principality of Monaco Puerto Rico Qatar Republic of the Philippines Romania Russia Rwanda Saudi Arabia Senegal Serbia Serbia and Montenegro (Former) Singapore Slovakia Slovenia South Africa Spain Sri Lanka Sweden Switzerland Syria Taiwan Tajikistan Thailand Trinidad and Tobago Tunisia Turkey Turkmenistan U.A.E. Ukraine United Kingdom United States Uruguay Uzbekistan Vietnam Yemen Zimbabwe
Notify me when new comments are added