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??
Posts: 32509
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).
Posts: 16504
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.
Posts: 32509
nivekiam, sorry, of course i meant a) not possible, and b) already implemented.
Posts: 16504
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.
Posts: 68
I hope soon one of the really slick php people here do develop a pluggable authentication for G2 that would totally rock :P