I think I should explain in more details what I am after. I customized my Photopost application in such a way that after registration (through some cPanel scripting I added to the profile.tmpl) the first time the user logs in and clicks on Profile a new folder (and a subdomain) is created in the "data" folder inside Photopost and a number of Photpost files are copied inside that folder (pp-inc.php, showgallery.php, showphoto.php and few others). The purpose is to give the user a customizable page (driven by the subdomain created). I also write inside the above mentioned files the relevant information about the user (username, userid) needed to generate the page locally. So every member registered on my site will have its own page (member.domain.com) and all images will be displayed through this new URL. I successfully changed the way the system is generating the profile page, gallery page etc (by setting new rules for various a href statements) in order to fit my needs; the only standing issue being the one I pointed in my first posting . Please follow this link: LiveFolio
, than click on one of the images and check again the URL. You end up navigating away from the member's site right back into the main domain. I would like to have the images to be displayed inside my member's site rather than the main domain. This is the link I referred too. I managed to find and change accordingly the link from the image title (go back to the URL specified above and click on the image title - the image will be displayed inside the member's site/subdomain and not in the main domain). I need to have identical behaviour when clicking on the thumbnail. I know it may sound like a mod question but really what I need is just the location of that link so I can modify it.