I'll need a little more info to actually help you out here. How exactly do you want this image and audio file 'opened'?
Do you mean open the file in the browser (eg. a direct link to an .mp3 file, or direct link to a .jpg file that opens in the browser when clicked). Because if this is the case, you can't really do this, at least not in modern browsers.