getImages always returns images in position order
devbobo
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
Can we get this fixed please ???
Thanks,
david
0
Comments
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
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 ?
Cheers,
David
SmugMug API Developer
My Photos
SmugMug API Developer
My Photos