Hi Mars, if you notice the image I posted, I've already changed the default icon for media. here are the codes in the template that I modified, I separated the media into music and movie category and added other extensions.
[file]
<tr>
<td class="iconCol">
<a href="%item-url%"><div style="
{.switch|%item-ext%|,|
html,htm,url| background:url('/template/rawr_default/images/icons/www.gif') center center no-repeat
|bat,bak,dat,ini,sys,vfs| background:url('/template/rawr_default/images/icons/settings.gif') center center no-repeat
|msi,exe| background:url('/template/rawr_default/images/icons/application.gif') center center no-repeat
|zip,tar,rar,gz,7z,tgz| background:url('/template/rawr_default/images/icons/archive.png') center center no-repeat
|iso| background:url('/template/rawr_default/images/icons/iso.png') center center no-repeat
|as,aspx,css,js,txt,as,php,tpl,xml| background:url('/template/rawr_default/images/icons/text.gif') center center no-repeat
|rtf,otf| background:url('/template/rawr_default/images/icons/document.gif') center center no-repeat
|pdf| background:url('/template/rawr_default/images/icons/pdf.png') center center no-repeat
|doc,docx| background:url('/template/rawr_default/images/icons/word.png') center center no-repeat
|xls,xlsx| background:url('/template/rawr_default/images/icons/excel.png') center center no-repeat
|ppt,pptx| background:url('/template/rawr_default/images/icons/ppt.png') center center no-repeat
|mp3,wma,m4a,aac,wav| background:url('/template/rawr_default/images/icons/musics.png') center center no-repeat
|mp4,wmv,avi,divx,mkv,mov,flv,3gp,rmvb,mpg| background:url('/template/rawr_default/images/icons/media.gif') center center no-repeat
|jpg,jpeg,png,gif|
{.if|{.filesize|%folder-resource%\previews_and_thumbnails\thumb-%item-name%.jpg.}|
background:url('previews_and_thumbnails/thumb-%item-name%.jpg') center center no-repeat
|
background:url('/template/rawr_default/images/icons/image.gif') center center no-repeat
.}
|
{.if|{.filesize|/template/rawr_default/images/icons/%item-ext%.gif.}|
background:url('/template/rawr_default/images/icons/%item-ext%.gif') center center no-repeat
|
background:url('/template/rawr_default/images/icons/default.gif') center center no-repeat
.}
.}
"></div></a>
</td>
and these are the codes in the default template.
<tr>
<td class="iconCol">
<a href="%item-url%"><div style="
{.switch|%item-ext%|,|
html,htm,url| background:url('/template/rawr_default/images/icons/www.gif') center center no-repeat
|bat,bak,dat,ini,sys,vfs| background:url('/template/rawr_default/images/icons/settings.gif') center center no-repeat
|msi,exe| background:url('/template/rawr_default/images/icons/application.gif') center center no-repeat
|zip,tar,rar,gz,7z| background:url('/template/rawr_default/images/icons/archive.png') center center no-repeat
|as,aspx,css,js,txt,as,php,tpl,xml| background:url('/template/rawr_default/images/icons/text.gif') center center no-repeat
|doc,docx,xls,xlsx,rtf,ppt,pptx,otf| background:url('/template/rawr_default/images/icons/document.gif') center center no-repeat
|mp3,mp4,wma,wmv,avi,divx,mkv,m4a,aac,mov,flv,3gp,rmvb,mpg| background:url('/template/rawr_default/images/icons/media.gif') center center no-repeat
|jpg,jpeg,png,gif|
{.if|{.filesize|%folder-resource%\previews_and_thumbnails\thumb-%item-name%.jpg.}|
background:url('previews_and_thumbnails/thumb-%item-name%.jpg') center center no-repeat
|
background:url('/template/rawr_default/images/icons/image.gif') center center no-repeat
.}
|
{.if|{.filesize|/template/rawr_default/images/icons/%item-ext%.gif.}|
background:url('/template/rawr_default/images/icons/%item-ext%.gif') center center no-repeat
|
background:url('/template/rawr_default/images/icons/default.gif') center center no-repeat
.}
.}
"></div></a>
</td>
@Mars and rejetto, What I am asking Sirs is if there is a chance that I can change the icons based on the name of their directory, for example, In my server, I have 6 directories/real folder (Anime, Applications, Musics, Movies, Readings, Series). then if I enter the Musics folder, all the icons inside the music folder will be the same regardless of its file extensions. I hope you got my point.