i want to know how i can integrate the gallery to my site
By readings the FAQs, using the bug fixes and by customizing your /templates/<your_template>/ folder.
As for slideshows, there's a MOD already available that you could use from the MODs section of this forum. By, simply, doing a search, you will find it.