filetype support

rpyne

Joined: 2003-02-10
Posts: 22
Posted: Wed, 2004-12-08 17:48

First, I love gallery, I have been hositng gallery sites since version 1.1.

My feature request is support for audio files. I have had a number of my users request the ability to add mp3, wav, and wma files to their albums.

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-12-08 18:18

G2 will handle audio files. G1 can too, if you add the filetypes to util.php.

Find

function acceptableMovieList() {
    return array('asx', 'asf', 'avi', 'mpg', 'mpeg', 'mp2', 'wmv', 'mov', 'qt', 'swf', 'mp4', 'rm', 'ram');

and add any extensions you want. The only "snag" is that Gallery 1 will display the default movie thumbnail image for those files.

G2 handles it differently, and in in G2 you can specify your own thumbnail for audiofiles.