ok
thats worked i had to update
$dp_themes = opendir( str_replace("/WA_Globals", "/powergallery", $GLOBALS['absLink']).'/galleries/' . $galleryDirName . '/css/themes');
to
$dp_themes = opendir( str_replace("/WA_Globals", "/gallery", $GLOBALS['absLink']).'/galleries/' . $galleryDirName . '/css/themes');
As i had called the folder 'gallery' as opposed to powergallery
One thing also, I have a jquery slideshow in the header area and as soon as the gallery is added it disappears (its still visible on all other non-gallery pages)
Any ideas please?
EDIT: managed to fix the jquery conflict.