Phoca Gallery and BK-Multithumb

Phoca Gallery - image gallery extension
nomad
Phoca Member
Phoca Member
Posts: 10
Joined: 04 Apr 2011, 19:14

Phoca Gallery and BK-Multithumb

Post by nomad »

Hello,

Im just making some test session on localhost for a migration from Joomla 1.5 to 3.2, all is fine until I get on articles that use both BK-Multithumb and Phoca Galleries. There I get all Phoca Gallery thumb empty etc etc.

I know that BK-Multithumb can be disabled for certain articles using {nomultithumb} but in my case i need them both working just like they did on J1.5.

Any help?

From what I've seen, there's some issue with image route in Phoca Gallery, here is one example:
path to site in localhost/sitename/
path to PG images is localhost/sitename/images/phocagallery/
path to other images is localhost/sitename/images/

PG tries to load/display images (thumbs, etc) from localhost/images/phocagallery/, it somehow skip /sitename/

How can this be fixed?

Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery and BK-Multithumb

Post by Jan »

Hi, you need to set path in Joomla! in case you are using sitename folder. Phoca Gallery saves relative paths to database so e.g. image is stored in images/phocagallery/folder/thumbs/... image.jpg

and Phoca Gallery then use the path set in Joomla! to link this image: Joomla! Base Path + images/phocagallery/folder/thumbs/... image.jpg see e.g. here:
https://www.phoca.cz/demo/

Here you can see that there is "demo" part of url and in fact this is standard. Phoca Gallery just use this url: .../demo + link to images.

:idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply