Is this specific features possible?

Phoca Gallery - image gallery extension
boomla
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Sep 2010, 23:22

Is this specific features possible?

Post by boomla »

Hi,

When it comes to a gallery, I need a specific feature:

1 picture = several categories

Example:

I want to make *at least* 2 ways for people to browse the pictures:
1: by clicking "pictures taken by A"
(A has pictures from summer holiday, Christmas and skiing)

2: by clicking "Pictures from summer holiday"
("summer holiday" contains pictures taken by A, B and C)

in another anology:
1: by clicking "statues from moonland"
- then seeing all the statues from moonland

2: by clicking "All pictures of rocks"
- then seeing pictures of rocks from both moonland and from every other category

...

I dont know if this comes down to tagging, unlimited categories and whatnot, but I have tried a few galleries, and I cant seem to find what Im looking for...
(and theres a lot out there!)

Also, users must be able to upload from front-end
(and I kinda like the unlimited categories idea)
...

My question now is: Is this possible using Phoca gallery?

Thx in advance,

boomla
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Is this specific features possible?

Post by Jan »

Hi, users can upload in frontend.

There is no such view you are looking for but Phoca Gallery is made with MVC pattern so you can customize the view (default.php) to fit your needs.

Jan
If you find Phoca extensions useful, please support the project
boomla
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Sep 2010, 23:22

Re: Is this specific features possible?

Post by boomla »

Hi Jan,

Thanks for your reply,

I guess what Im really looking for is that each picture can belong to more categories...

ex: pic "A" belong to both category "moonland" - and - category "rocks"
thus, ppl can choose which category they want to view, and still see pic "A"...
(pic put in both categories in backend by admin)

Im no coder at all, so I guess, Ill have to leave it for now :(
(might put up a feature request on this though :? )

Anyways - thx very much for all your effort in the Phoca series!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Is this specific features possible?

Post by Jan »

Hi, Phoca Gallery has independent database and filesystem layer. It means, image cannot be saved in more categories, but you can add one image to more categories - it get different ID but e.g. thumbnails are the same. So you can have one image e.g. in 5 categories (it gets 1,2,3,4,5 ID) but use only one thumbnail on the server.

Jan
If you find Phoca extensions useful, please support the project
boomla
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Sep 2010, 23:22

Re: Is this specific features possible?

Post by boomla »

Hi Jan,

If I do as you suggets, wouldn't that mean:

1:
Every image in, say 2 cats, will use twice the dick space?

2:
Rating/comment on the one image will * not* affect/be visible to the image in the other category?

thx in advance,

boomla
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Is this specific features possible?

Post by Jan »

Hi,

1) no, on the disc only one istance per image is stored (if you are using the same image in other category, Phoca Gallery will try to find this image and its thumbnails, if there are thumbnails of this image, they will be used for the same image - only data saved in database (title, other category, etc. will be different)

2) Rating will be different for every image, like the title, you can have two diffrent titles in two different categories but if the image is "physically" the same, image stored on the disc is stored only one time


Example:

Image "P102030.JPG" is stored on your server and you will make:

"First Image" (title) in "First Category" and
"Second Image" (title) in "Second Category" ... both images are in diffrent category and has diffrent title but the P102030.JPG is displayed if you want to see them.

Jan
If you find Phoca extensions useful, please support the project
boomla
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Sep 2010, 23:22

Re: Is this specific features possible?

Post by boomla »

Thank you very much for your time, Jan.
I know you are very busy - seeing you all over the Joomla galley world :twisted:

This is very close to what Im looking for (exept for the seperate rating/comment) and I will start working on it ASAP.

rgd,
boomla
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Is this specific features possible?

Post by Jan »

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