Pekka
3rd of October 2006 (Tue), 12:49
You do not have know any programming. Basic knowledge you need is to understand what different items in EE are and how they interact. Here are the basic structures in EE 2:
- A photo has a filename, unique for each photo.
- A photo belongs to an exhibition which belongs to a group which belongs to a structure which belongs to group called "INDEX".
- Any photo can belong to any exhibition.
- Any exhibition can belong to any group.
- Exhibition has thumb path and microthumb path.
- Photo page shows its big sizes from size paths
- Thumbnails are shown from exhibition's thumb path and microthumbnail from exhibition's microthumbnail path.
- The image files are displayed simply so that filename is added into the end of path and browser shows the image.
User permissions contain: permission to view exhibition, permission to view size path. So in other words, EE 2 has exhibition-level login protection.
EE 2 builds gallery tree structure automatically for each user according to permissions, and how you have set up your EE gallery structure.
User will see the photo if
Photo is not hidden
---and user has permission to see some of its size paths
------and it belongs to an exhibition
---------and user has permission to see that exhibition
------------and the exhibition belongs to the group
---------------which belongs to group tree
------------------which ends to INDEX group
(group tree means nesting of groups inside other).
What this permission system means is that:
You should build gallery structure keeping in mind only the logical arrangement of exhibitions and groups. EE will take care of picking the right things from structure for current user. You should only keep in mind which exhibitions are allowed for which user.
Also, keep in mind which exhibitions you allow in virtual exhibition setup, because if you assign an exhibition X to virtual exhibition Z and you give a user permission to view only Z, the user will see exhibition X photos, too, because they were virtually included in Z. Read that twice, please, because it is important to understand it.
- A photo has a filename, unique for each photo.
- A photo belongs to an exhibition which belongs to a group which belongs to a structure which belongs to group called "INDEX".
- Any photo can belong to any exhibition.
- Any exhibition can belong to any group.
- Exhibition has thumb path and microthumb path.
- Photo page shows its big sizes from size paths
- Thumbnails are shown from exhibition's thumb path and microthumbnail from exhibition's microthumbnail path.
- The image files are displayed simply so that filename is added into the end of path and browser shows the image.
User permissions contain: permission to view exhibition, permission to view size path. So in other words, EE 2 has exhibition-level login protection.
EE 2 builds gallery tree structure automatically for each user according to permissions, and how you have set up your EE gallery structure.
User will see the photo if
Photo is not hidden
---and user has permission to see some of its size paths
------and it belongs to an exhibition
---------and user has permission to see that exhibition
------------and the exhibition belongs to the group
---------------which belongs to group tree
------------------which ends to INDEX group
(group tree means nesting of groups inside other).
What this permission system means is that:
You should build gallery structure keeping in mind only the logical arrangement of exhibitions and groups. EE will take care of picking the right things from structure for current user. You should only keep in mind which exhibitions are allowed for which user.
Also, keep in mind which exhibitions you allow in virtual exhibition setup, because if you assign an exhibition X to virtual exhibition Z and you give a user permission to view only Z, the user will see exhibition X photos, too, because they were virtually included in Z. Read that twice, please, because it is important to understand it.