Using the Gallery to Display Other File Types
The galleries in Allwebco templates are configured to show .jpg and .mp3 files. They can be used to display any other type of files including .avi, .wav, .midi, .pdf, .ram, another webpage or almost any other type of file that can be displayed through the web.
A current webpage gallery link:
This is the code from a coolC10 gallery 1, picture 1, but all other templates are similar. (in FP and DW right click a gallery image to view your link code):
Linking gallery images to HTML pages:
You can link your gallery images to other HTML pages or other gallery pages. Below is the code you will see in the gallery pages that you will want to edit. (In some HTML editors you can right click a gallery image to view your link code.)
Code for a Sounds Mp3 type template:
For newer sounds mp3 templates see your help.html for instructions on linking to movie files. In any older sounds template you can use the above code or have the other file types pop-up in a new window.
The current webpage code (SOunds):
<a href="javascript:popUpSound('sounds/song1-1.mp3')">
Edit for your file:
You can edit the code like the following. A .wmv file can be used or most any other type also. You will however need to edit the "pop-closeup.js" to resize the pop-up window and turn off the Flash and Windows players. Open the "pop-closeup.js" in Notepad to do these edits. Also, you may need to alter the "view_width" and "view_height" to make the pop-up bigger to fit the movie.
For the above example you will create a directory called "movie" and put the .wmv file, or any other file type you are using, in the movie directory. In some cases you may want to code like the first link style shown on this page. Or if you have problems on other computers, code like the first style also.