[pmwiki-users] Attachment size
Patrick R. Michaud
pmichaud at pobox.com
Fri Aug 4 12:10:07 CDT 2006
On Thu, Aug 03, 2006 at 10:49:51PM -0400, Pico wrote:
> Patrick R. Michaud wrote:
> >On Thu, Aug 03, 2006 at 11:50:00AM -0400, Neil Herber wrote:
> >>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?
> >Oh! Here's a thought -- what if we overload the "alt-text" field
> >of links to allow the specification? So:
> >
> > Attach:file.txt"size" -- display with file size
> > Attach:file.txt"date" -- display with last updated date
> > Attach:file.txt"type" -- display with type
>
> But would that interfere with providing captions for attached images?
> Would it break markup like this:
>
> (:description %thumb%[[{$FullName}|Attach:HaleyDog.jpg"{$Title}"]]%%:)
No, it wouldn't interfere with this -- we would only change the
meaning of "alt-text" for non-image attachments. Attachments that
result in inline images would continue to work as before.
Pm
More information about the pmwiki-users
mailing list