Gallery2 Random Block - Xaraya Integration

krwester

Joined: 2004-07-25
Posts: 12
Posted: Thu, 2005-03-03 17:00

I know this is on the edge of G2 Support, since it actually has to do with integration. But here goes.

The random image block in the gallery2 integration does not seem to work with short urls.

It appears just fine on the main page, but then if you use a module with short urls it appears to look for the image using the base as the short url starting place. Let me give you an example.

On the frontpage the image in the random block is located at:

http://mysite.com/index.php/gallery2/album/picture.jpg

However on the articles page it shows up as:

http://mysite.com/index.php/articles/index.php/gallery2/album/picture.jpg which it obviously can't find.

Any ideas on how to fix this - other then disable shorturls, which is the current solution.

-- 2/23/05 gallery (with the latest embed.php from cvs)
-- latest integration module from cvs

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-03-03 17:20

i thought it was working on my install, maybe not.

short url support in G2 will change in the coming week(s), I'll work on this bug probably not before this change was made.

 
krwester

Joined: 2004-07-25
Posts: 12
Posted: Thu, 2005-03-03 17:38

fair enough.