Oh sorry I should mention,
What I need is for the image gallery to find the specific portal's image folder.
Here is an example from my machine. .
C:/Inetpub/wwwroot/LocalDNN/Portal/0
C:/Inetpub/wwwroot/LocalDNN/Portal/1
C:/Inetpub/wwwroot/LocalDNN/Portal/3
C:/Inetpub/wwwroot/LocalDNN/Portal/4
C:/Inetpub/wwwroot/LocalDNN/Portal/5
C:/Inetpub/wwwroot/LocalDNN/Portal/6
Thanks again