Closed (fixed)
Project:
IMCE
Version:
6.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2009 at 18:39 UTC
Updated:
19 May 2011 at 21:16 UTC
I was wondering if it's possible to have a small file type image appear next to the text title of uploaded documents, for example a small pdf logo next to pdfs and a small word logo next to word docs?
Comments
Comment #1
ufku commentedYes but it requires some javascript knowledge. See how imce.thumbRow(js/imce_extras) method changes the file list to add a thumbnail before filenames. It is included as a list hook in tpl/imce-content.tpl.php.
Comment #2
Dubber Dan commentedAh, well I don't know javascript, so that's me stumped already! Can you give me some more info on what to do?
Comment #3
ufku commentedIf you knew javascript you would probably create a function like imce.thumbRow and get the file extension of each file and insert the EXT.png img that you already have on the server.
Comment #4
ufku commentedClosing 6.x-1.x issues as this branch is no more supported.