Site path and Images

Spent most of day implementing my first C5 site.
So far so good.
A couple of questions.

1/ I have installed C5 under as a test
What do I need to change when I am ready to go live with the site and for it to work properly under

2/ In a content block, when inserting an image, the image path is inserted Of file.

I understand that I will have problems with images when moving the site in a live environment.
Is there a way to give each image a PATH ATTRIBUTE?

Thx in advance

View Replies:
andrew replied on at Permalink Reply
Change your DIR_REL constant to no longer include '/site' after you move it up one level. Your URLs should automatically change.
simpled replied on at Permalink Reply
Thanks andrew,
Looking at the config file, I havethis at the moment

//$v = View::getInstance();

// you can override system layouts here - but we're not going to by default */

//$v->setThemeByPath('/login', "yourtheme");
//$v->setThemeByPath('/403', "yourtheme");
//$v->setThemeByPath('/register', "yourtheme");

What should be entered?

Also, what about images path?
Can I use something like $SITEPATH instead of full url to image folder?
jimlightanddark replied on at Permalink Reply
Did you ever get a response on this? I'm trying to make it so that I get a full image path for all images throughout the site.
SVijay replied on at Permalink Reply
Exclude '/site' from your DIR_REL in config/site.php file