i found out that this method is use to display an uploaded file for image:
<IMG SRC="<?php print $s[picture];?>"
WIDTH=<?php print $width;?> HEIGHT=<?php print $height;?>>
i want to know what method to use to display other type of file, like video clips , words file, pdf, and etc. If it is video, i prefer to show the images of the video, and the user can click on it to download, any solution, thanks