is there a way to make gallery work with?

gothballoon
gothballoon's picture

Joined: 2003-02-17
Posts: 68
Posted: Sun, 2005-05-08 07:38

an .htpasswd file? I use gallery in a members area and it has to use an htaccess for access and would love it if i could dump the htaccess and have gallery read straight from the .htpasswd file. that way i can let non logged in people see thumbnales but you have to have access to see bigger pictures. do any of you know how this could be done??

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-08 12:19

Is this request mainly about using
a) htpasswd or
b) about restricting guest users to see thumbs but not resized / original images?

i think these two issues are independent.
b) isn't possible, but one could develop pluggable authentication for G2. and this is on the road map of G2, but it's not high priority.
a) possible with G2, we have very fine grained permissions (per item, not only per album and you can define if only thumbs, resized or also originals can be viewed).

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2005-05-08 15:18
valiant wrote:
b) isn't possible, but one could develop pluggable authentication for G2. and this is on the road map of G2, but it's not high priority.

Couldn't this be possible with quite a bit of changes to the permissions stuff in Gallery? There's already an option to let people view the resized images or not. Couldn't there possibly be an option to view thumbs after removed the view resized images?

I'm not suggesting this be done at least not in this release as I'm sure it would be a major database change. Just suggesting that maybe it is possible if someone wants to do the work.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-08 15:27

nivekiam, sorry, of course i meant a) not possible, and b) already implemented.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2005-05-08 15:34

Ah, now I see. Yes it is. That would explain the headache I was getting last night after playing around with permissions:

View item = thumbnail only so they can see something is there.
View resized (obvious)
View original (full size)
View all versions (obvious)

Thanks.

 
gothballoon
gothballoon's picture

Joined: 2003-02-17
Posts: 68
Posted: Tue, 2005-05-24 21:26

I hope soon one of the really slick php people here do develop a pluggable authentication for G2 that would totally rock :) :P :)