Group based image quality
Submitted by jrsimard on Thu, 2009-02-19 16:04.
Hi,
I'm trying to figure out how to add a group based access to image quality, in the same way that the directories / galleries are group based accessible. Essentially, I want the guest group to be only able to access the small image quality.
I guess that one easy ad hoc way would be in the album.tpl.php, in the "foreach( $quality_links as $link){ ... }" part to add a check for group membership, and have the quality printed or not depending on the group. I've been browsing through the code but can't figure out what variable I need to invoke for the check-up.
I know it wouldn't be to hard to implement this as for the galleries, but the ad hoc solution would be fine for me for the moment.
Any help?
Thanks,
JR

Recent comments
1 hour 42 min ago
13 hours 41 min ago
13 hours 41 min ago
13 hours 41 min ago
13 hours 42 min ago
1 day 4 hours ago
1 day 8 hours ago
1 day 21 hours ago
2 days 5 hours ago
2 days 6 hours ago