sorry i cant help you about connecting pictures but i know how to put music in the background.
<bgsound src="musicfile" loop=" " />
at the loop you type the number of times you want the music to repeat or if you dont want it to stop write infinite.
example:
<bgsound src="C:\file.mp3" loop="3" />