[pmwiki-users] Attachment size
Kathryn Andersen
kat_lists at katspace.homelinux.org
Fri Aug 4 18:16:39 CDT 2006
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
> >
> > 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.
What about links to attached images?
Could one do something like the following?
[[Attach:mybigimage.jpg"%size"|Attach:mybigimage_thumb.jpg"My big image"]]
Kathryn Andersen
--
_--_|\ | Kathryn Andersen <http://www.katspace.com>
/ \ |
\_.--.*/ | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
v |
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha! | -> Earth -> Sol -> Milky Way Galaxy -> Universe
More information about the pmwiki-users
mailing list