I'm having issues as I have the gallery (the carousel) displayed on a page where there are some sidebars I do not want to display

the problem (I think) is that in the module the base_path is set to /
and I want it to output the images under /gallery/myimagejpg#12
this is because I have a template page that is caller page-gallery.tpl.php for pages where I want a wider content area

anyone know what is the best approach to modifying the prog_gallery.module file to let me do this?
there are quite a few instances of base_path in the file so I'm a little confused as to which one to alter (all??)

THanks!!