Thanks Justin. That works for the embedded gallery. Any tips to help me get the Admin area pointed in the right direction. The previews and paths generated are still an issue. I tried placing that code in the admin globals file, but it doesn't seem to be effecting these things.