Options

images.getInfo returning broken urls

thomasmthomasm Registered Users Posts: 2 Beginner grinner
edited January 16, 2013 in Bug Reporting
I am attempting to grab a users images but all the urls returned are not working

One of the examples is I am making the request using all the correct oauth attributes and using the endpoint:
/services/api/json/1.2.2/?method=smugmug.images.getInfo&ImageID=1972271002&ImageKey=3n9V5zr&Heavy=true

The call returns the data:
{
"LargeURL" => "http://fspaini.smugmug.com/photos/i-3n9V5zr/0/L/i-3n9V5zr-L.jpg",
"FileName" => "nv12_073.jpg",
"SmallURL" => "http://fspaini.smugmug.com/photos/i-3n9V5zr/0/S/i-3n9V5zr-S.jpg",
"Keywords" => "",
"Hidden" => false,
"Serial" => 0,
"Position" => 1041,
"Size" => 5260405,
"Format" => "JPG",
"URL" => "http://fspaini.smugmug.com/Other/Dario-Blues-to-sort-out/24232235_4jWbJ8#1972271002_3n9V5zr",
"XLargeURL" => "http://fspaini.smugmug.com/photos/i-3n9V5zr/0/XL/i-3n9V5zr-XL.jpg",
"X2LargeURL" => "http://fspaini.smugmug.com/photos/i-3n9V5zr/0/X2/i-3n9V5zr-X2.jpg",
"ThumbURL" => "http://fspaini.smugmug.com/photos/i-3n9V5zr/0/Th/i-3n9V5zr-Th.jpg",
"Date" => "2012-07-17 20:57:04",
"id" => 1972271002,
"X3LargeURL" => "http://fspaini.smugmug.com/photos/i-3n9V5zr/0/X3/i-3n9V5zr-X3.jpg",
"Watermark" => false,
"TinyURL" => "http://fspaini.smugmug.com/photos/i-3n9V5zr/0/Ti/i-3n9V5zr-Ti.jpg",
"MediumURL" => "http://fspaini.smugmug.com/photos/i-3n9V5zr/0/M/i-3n9V5zr-M.jpg",
"LightboxURL" => "http://fspaini.smugmug.com/Other/Dario-Blues-to-sort-out/24232235_4jWbJ8#1972271002_3n9V5zr-A-LB",
"LastUpdated" => "2012-07-17 20:57:48",
"Width" => 5888,
"MD5Sum" => "fd7738c48a3e7169116b5e6ff4f9d15a",
"Caption" => "",
"Height" => 4000,
"Key" => "3n9V5zr",
"activity_tag" => "Dario-Blues-to-sort-out",
"Type" => "Album",
"OriginalURL" => "http://fspaini.smugmug.com/photos/i-3n9V5zr/0/O/i-3n9V5zr.jpg"
}

None of the image urls returned work. I have successfully make a request to the same endpoint but for a different photo for this user that returns working image urls.

I found a thread from some time ago that appears to have had the same issues, http://www.dgrin.com/showthread.php?t=207974, I'm not sure if mine is the same problem though.

Thanks.

Comments

  • Options
    richWrichW Registered Users Posts: 941 Major grins
    edited January 16, 2013
    Looks like external linking is disabled in the gallery settings .

    If 'External Links' is set to 'No' in the gallery settings under 'Security & Privacy', that would block any direct urls to the image(s).
    How do I Protect My Images? - http://smu.gs/13DTeBT
  • Options
    thomasmthomasm Registered Users Posts: 2 Beginner grinner
    edited January 16, 2013
    Ah, makes sense. Thanks for the quick reply!
Sign In or Register to comment.