I had the "pictures" folder in http://xyz.com root directory and the album pictures were displaying correctly based on the below code :
define('DOCUMENT_ROOT_PATH',$_SERVER['DOCUMENT_ROOT'].'/');
define('COMING_UP_PICTURES',DOCUMENT_ROOT_PATH.'/');
define('COMING_UP_PICTURES_GALLERY','pictures');
define('RECENT_HISTORY',DOCUMENT_ROOT_PATH.'/');
define('RECENT_HISTORY_GALLERY','pictures');
I recently created http://static.subdomain.com and moved the "pictures" folder into this subdomain, now the pictures wont display.
Please help!