Page 1 of 1

Change default path/folder for gallery

Posted: 22 May 2021, 12:35
by maxer7
I'm planning create gallery from images exists on server ex. ROOT/images/landscapes
These pictures are included in articles and I cant change location of images.
In phoca gallery I can set images only from ROOT/images/phocagallery,but not ROOT/images/landscapes
How solve it?

Re: Change default path/folder for gallery

Posted: 22 May 2021, 12:46
by Jan
Hi, the only one solution for this is to customize the code and change the path there. Try to see similar posts in this forum as there are some information regarding changing the paths.

Jan

Re: Change default path/folder for gallery

Posted: 22 May 2021, 13:13
by maxer7
Thanks,but I cant find it.
I found images/phocagallery in files on server
I tried edit in files
default_images.php
default_download.php
to my choice,but without changes

Re: Change default path/folder for gallery

Posted: 22 May 2021, 15:23
by maxer7
{solved]
I cant edit previous post
I changed path:
images/phocagallery
in files:
renderfront.php
path.php
default_download.php
default_images.php
script.php
Thanks

Re: Change default path/folder for gallery

Posted: 24 May 2021, 10:22
by Harley
Hi, can you tell me where i find the files?

Re: Change default path/folder for gallery

Posted: 24 May 2021, 17:06
by maxer7
I cant use img function
I found files with string "images/phocagallery" copied to disk, edited with notepad++ (without BOM-important) and replace.
https://imgur.com/xQuaq3J

Re: Change default path/folder for gallery

Posted: 24 May 2021, 17:24
by Jan
Hi, see:

administrator/components/com_phocagallery/libraries/phocagallery/path/path.php

where teh paths are defined and see similar posts in this forum, where users explained all the details.

Jan