PDA

View Full Version : getImages always returns images in position order


devbobo
Mar-16-2005, 03:32 AM
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

onethumb
Mar-18-2005, 08:52 AM
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

devbobo
Mar-22-2005, 12:48 AM
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 ? :dunno

Cheers,

David

devbobo
Mar-28-2005, 02:43 AM
COOL !!! it just started working ....do you fix something ???

http://dgrin.com/images/smilies/clap.gifhttp://dgrin.com/images/smilies/clap.gifhttp://dgrin.com/images/smilies/clap.gifhttp://dgrin.com/images/smilies/clap.gif