baseurl returned is incorrect

voidtrance

Joined: 2005-10-21
Posts: 26
Posted: Wed, 2010-02-24 21:57

Hi, I am trying to write a small WP plugin that uses Gallery Remote. My Gallery installation is:
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5

and the Gallery Remote version is 1.0.18.

I am successfully able to send the "fetch-album-images" command and I get, what seems to be, a reasonable, successful response. However, the "baseurl" field in the response seems incorrect. The value that I get back is:

"http\://<gallery server name>/main.php?g2_view\" (I have replaced the actual server name for security).

According to the documentation, I should be able to just append the name of the file to this URL to get a fully qualified link to the image. However, doing that doesn't work.

Furthermore, I get the same value for "baseurl" regardless of which album I query.

Any help is appreciated? Thank you