I have been searching and searching, and after that I have been searching some more for this. :-)

What I would like to have is:

#1: Uploads in filefield that have both an icon and a filesize added to it. In Garland (and other themes) an icon is automatically added, but filesizes are only displayed when creating the content. There are several solutions for this:
- changing the template.php (#304930: To view file size and file description in view mode and #426374: Show file size (theme API))
- adding extra fields where users can add the file size

I am wondering why there is no standard solution for this because it seems so obvious to me, so maybe I am overlooking something.

#2: The second thing I would like to have is: Uploads in standard text fields get file sizes and icons added to them. Again several options:
- there are several modules that add wiki style icons to external links. Url Icon is one of them.
- there are one or two modules (Iconizer for one) that add icons to links based on a css selector, but those can only be used in more modern browsers.
- I found reference to a filter module that should do the trick, but alas I am unable to find it: file_filter.module. Anyone?
- People can add them by hand of course, together with the type in brackets

I could settle for only icons in modern browsers, but I would love to have file-sizes. Right now I am using IMCE and tinytinyMCE (in advanced mode to get uploads, so I could switch to another editor if needed)

Anyone have any thoughts on this? TIA

Comments

yurigoul’s picture

Two aditional remarks regarding #1:

- There is something called shiny uploads that styles the display of your uploads with icons, file size and description - but from the looks of it, it asumes you already have file sizes. Could not get it to work though but that might be me - am going to look into it more.

- Adding an extra field for the size of my downloads can (in my opinion) not be used when you add the possibility to have an unlimited number of downloads, unless - I think - you start using something like flexifield which is in alpha right now and I did not test it. (http://drupal.org/project/flexifield)