Yes , my gallery is editable in all the pages . and of course i'm pointing it to individual folders created inside library for each page . However , for customers who are logged in , i need to give them access to other document folders as well. So my logic is conditional . That's why if its possible to somehow get the folder name of the galleries , it will be very easier for my client to get it from the cms.
Please suggest a better way to proceed .