Wilky49, don't forget that you can also set gallery category permissions so that only certain usergroups can see the categories.... and you can also password protect categories (I have some that are flagged as "inactive" so they don't show up in the category listings and then they are password protected so even if somebody finds the category they can't get in it).
Usually the people needing to hard-code the query or those who may have some not-work-safe images and don't want them displaying on the portal page even if the visitor has access to them.
And welcome to vBadvanced.