http://www.olafskaug.com/fckeditor
oListManager.GetFileRowHtml = function( fileName, fileUrl, fileSize )
{
// Build the link to view the folder.
var sLink = '<a href="#" onclick="OpenFile(\'' + ProtectPath( fileUrl ) + '\');return false;">' ;
// Get the file icon.
var sIcon = oIcons.GetIcon( fileName ) ;
return '<div class="filefluffer" align="center">' +
'<div class="fileinstance">' +sLink+
'<img alt="" width="100px" src="'+ fileUrl +'" border="0">' +
'<\/a>' +
' ' +
fileSize +
' KB ' +
'<\/div>' +
'<\/div>' ;
}
.filefluffer {
padding:5px;
width:115px;
height:150px;
border-width:1px;
border-style:solid;
border-color:#000000;
background:#ffffff;
margin:0px 10px 10px 10px;
float:left;
}
.fileinstance {
color:#000000;
font-family:verdana;
font-size:11px;
width:95%;
height:95%;
background:#ffffff;
}
.fileinstance img {
width:95%;
height:auto;
margin-top:5%;
}
