Upload image folder?

Phoca Gallery - image gallery extension
thune
Phoca Member
Phoca Member
Posts: 11
Joined: 13 Nov 2007, 18:54
Location: Norway

Maybe there is somet

Post by thune »

Maybe there is something that I missed, but when I click Gallery - > New and choose image for uploading I just get an empty window with no images and the message "There is no image in this folder". But which folder is this? If it's the images folder in the media manager, it's not empty.

I'm running todays Joomla SVN.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Hi,see

Post by Jan »

Hi,

see https://www.phoca.cz/phocagallery/ - Installation.

Phoca Gallery creates folder in the image folder, the path is:

image/phocagallery/... this is the main (root) folder for Phoca Gallery images

Jan
If you find Phoca extensions useful, please support the project
thune
Phoca Member
Phoca Member
Posts: 11
Joined: 13 Nov 2007, 18:54
Location: Norway

Ok, thanks. Since th

Post by thune »

Ok, thanks. Since the Joomla Media Manager handles my documents and images I had set up my Media Manager to point to a folder "files" (with subfolders images and documents) instead of the default images - folder. I guess that wasn't the most clever thing to do, but I really don't like uploading documents in a folder called images.

So what I would really like is to change this path to files/images. Would that be possible?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Yes, it is, but you

Post by Jan »

Yes, it is, but you must do changes in source code:
- in administration area
- in frontend

Frontend (components/com_phocagallery/helpers/phocagallery.php):
$path['orig_abs_ds']
$path['orig_abs']
$path['orig_rel_ds']


Backend (administrator/components/com_phocagallery/helpers/phocagallery.php):
$path['orig_abs_ds']
$path['orig_abs']
$path['orig_rel_ds']


You will see the values in the code

Jan
If you find Phoca extensions useful, please support the project
thune
Phoca Member
Phoca Member
Posts: 11
Joined: 13 Nov 2007, 18:54
Location: Norway

Thanks for the help.

Post by thune »

Thanks for the help. This works really good. This is in my opinion the best gallery solution for Joomla at moment. And I have used them all. Simple and elegant
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Great, thank you for

Post by Jan »

Great, thank you for your opinion
If you find Phoca extensions useful, please support the project
degoeroe
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 27 Feb 2011, 19:14

Re: Upload image folder?

Post by degoeroe »

The folder structure in Phoca Gallery 3.15 is much different from older versions. Can you please inform me what files / lines to change to change the default upload folder /images/phocagallery to another location (i.e.: /images/gallery-pics/)
Post Reply