Options

getImages always returns images in position order

devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
The 'getImages' always returns the images from an album in 'Position' order, regardless of what the album setting is.

Can we get this fixed please ???

Thanks,

david
David Parry
SmugMug API Developer
My Photos

Comments

  • Options
    onethumbonethumb Administrators Posts: 1,269 Major grins
    edited March 18, 2005
    devbobo wrote:
    The 'getImages' always returns the images from an album in 'Position' order, regardless of what the album setting is.

    Can we get this fixed please ???

    Thanks,

    david


    I fixed this a long (month?) time ago, and I'm not seeing this behavior now.

    Can you provide me with the XML-RPC call and response?

    Thanks,

    Don
  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited March 22, 2005
    Hi Don,

    Sorry about the delay, ok I setup an album for this test.

    http://introversion.smugmug.com/gallery/447084

    The position order for the images is...

    18001793, 18001754, 17278816

    and the album sort method is set to 'Date Taken', if you view the album from the url above, the images appear in the order....

    18001754, 17278816, 18001793

    ok, here's my method call...

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <methodCall>
    <methodName>getImages</methodName>
    <params>
    <param>
    <value><string>[SessionID]</string></value>
    </param>
    <param>
    <value><i4>447084</i4></value>
    </param>
    </params>
    </methodCall>

    and the response...

    <?xml version="1.0" encoding="iso-8859-1"?>
    <methodResponse>
    <params>
    <param>
    <value>
    <array>
    <data>
    <value>
    <int>18001793</int>
    </value>
    <value>
    <int>18001754</int>
    </value>
    <value>
    <int>17278816</int>
    </value>
    </data>
    </array>
    </value>
    </param>
    </params>
    </methodResponse>

    As you can see, the returned images are ordered in their position order, not their Date Taken order.

    Any ideas ? ne_nau.gif

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited March 28, 2005
    COOL !!! it just started working ....do you fix something ???

    clap.gifclap.gifclap.gifclap.gif
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.