Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7176957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:36:47+00:00 2026-05-28T16:36:47+00:00

My code is : FlickrNet.Flickr flickr = new FlickrNet.Flickr(apiKey, shardSecret); FlickrNet.Flickr.CacheDisabled = true; PhotoCollection

  • 0

My code is :

FlickrNet.Flickr flickr = new FlickrNet.Flickr(apiKey, shardSecret);
FlickrNet.Flickr.CacheDisabled = true;

PhotoCollection photos = flickr.PeopleGetPublicPhotos(flickrUser);

linkPhoto = "http://farm" + photo.Farm + ".staticflickr.com/" + photo.Server + "/" + photo.PhotoId + "_" + photo.OriginalSecret + "_o."+photo.OriginalFormat;

but seems that photo.OriginalSecret and photo.OriginalFormat returns an empty string?
Also tried with photo.OriginalUrl but is the same : empty string? Where am I wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T16:36:48+00:00Added an answer on May 28, 2026 at 4:36 pm

    Use these options too:

            options.Extras = PhotoSearchExtras.OriginalFormat;
    

    This will make Flickr include the original URL in all cases, where you’re allowed to see it. This is especially handy when you otherwise would use the LargeURL, as there’re photos that just are not big enough to have a largeURL, and in that case Flickr will give you a langeURL that points to a “This Image is currently not available” picture.

    Then, if you want to find the “biggest version” of an image, you can do something like this:

    public string BiggestVersionUrl()
        {
            // find biggest version for downloading later
            string BiggestVersionUrl1 = string.Empty;
            var p = this.Photo;
            if (!string.IsNullOrEmpty(p.OriginalUrl))
                BiggestVersionUrl1 = p.OriginalUrl;
            else if (!string.IsNullOrEmpty(p.LargeUrl))
                BiggestVersionUrl1 = p.LargeUrl;
            else if (!string.IsNullOrEmpty(p.MediumUrl))
                BiggestVersionUrl1 = p.MediumUrl;
            else if (!string.IsNullOrEmpty(p.SmallUrl))
                BiggestVersionUrl1 = p.SmallUrl;
            return BiggestVersionUrl1;
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey I am currently using the following code Dim flickr As New Flickr(apikey) Dim
Code: <html xmlns=http://www.w3.org/1999/xhtml> <head> <title>Unusual Array Lengths!</title> <script type=text/javascript> var arrayList = new Array();
Code: for i in {0..3}; do ping http://www.pythonchallenge.com/pc/def/$i.html; done A host should be found
Code below sets default values for new row if row is added using form.
Code is at: http://jsfiddle.net/m9yen/ Issue: I have multiple LI's listing FOOD ITEMS Each li
Code like: ...text <span contenteditable=true onChange=someFunction()>blah blah</span> text... The onChange event doesn't work. (at
Code is below, when I hit the page with: http://ryan.local.testmode.com/timecrunch/bctimepost.ashx?project=2593059&person=2831215&date=04/16/2009&hours=2.5&case=555 it just sort of
Code: LinkButton linkButton = new LinkButton(); linkButton.OnClientClick=changecolor;--i need to change this to on mouse
Code: http://pastie.org/1961455 Trackback: Traceback (most recent call last): File C:\Users\COMPAQ\Desktop\NoughtsCrosses.py, line 149, in <module>
Code example: http://jsfiddle.net/MhEPw/1/ I have two jQuery Deferred objects. I want to have more

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.