[pmwiki-users] Attachment size

Neil Herber nospam at eton.ca
Thu Aug 3 10:50:00 CDT 2006


At 2006-08-03  10:32 AM -0500, Patrick R. Michaud is rumored to have said:
> > > > Is there any way of displaying the file-size of an uploaded file? (That
> > > > is, one uploaded with "Attach:").
>
>At the moment, no.  It really needs a good markup for doing this.
>One approach would be to define a custom "Attach:" markup that also
>determines and displays the filesize.

I would definitely use such markup. Currently I either manually 
insert the size or I use the (:attachlist:) markup which (of course) 
shows too many files.

How about:

Attachdetails:
Attachinfo:
Attachlong:
Attachplus:
Attachfs:   (fs = file size)

???


Neil Herber
Corporate info at http://www.eton.ca/ 





More information about the pmwiki-users mailing list