[pmwiki-users] Attachment size

Patrick R. Michaud pmichaud at pobox.com
Fri Aug 4 23:58:19 CDT 2006


On Sat, Aug 05, 2006 at 09:16:39AM +1000, Kathryn Andersen wrote:
> On Fri, Aug 04, 2006 at 12:10:07PM -0500, Patrick R. Michaud wrote:
> > 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
> > > 
> What about links to attached images?
> Could one do something like the following?
> 
> [[Attach:mybigimage.jpg"%size"|Attach:mybigimage_thumb.jpg"My big image"]]

Yes, this would be fine.  It would display the thumbnail, followed
by the size of mybigimage.jpg .

Pm




More information about the pmwiki-users mailing list