Programming Heroes
👈🏻 GNUZoo
This page uses (:includes:) of page Thumb to create Thumb images.
Eventually I plan to create other types of thumbs, like bottom captions,
no captions, and raw images, multiline bottom captions, perhaps others.
Hopefully this should work with tablets and phones.
(:comment ------------------------------------------------------------------------------------:)
(:comment define some PTVs:)
(:inc:include Thumb#thumb:)
(:img:{$:inc} img=Attach::)
(:cap:caption=:)
(:h:200px:)
(:comment -------------------------:)
(:{$:inc}s:)
(:{$:img}[=Tim Berners-Lee=].jpg {$:cap}"Tim Berners-Lee" :)
(:{$:img}LinusTorvalds.webp {$:cap}"Linus Torvalds" :)
(:{$:img}[=Richard Stallman=].jpg {$:cap}"Richard Stallman" :)
(:{$:img}[=Rasmus Lerdorf=].jpg {$:cap}"Rasmus Lerdorf" :)
(:{$:img}[=John Carmack=].jpg {$:cap}"John Carmack" :)
(:{$:img}pmichaud.jpg {$:cap}"Patrick Michaud" :)
(:{$:img}[=Larry Wall=].jpg {$:cap}"Larry Wall" :)
(:{$:img}matz.jpg {$:cap}"Yukihiro Matsumoto" :)
(:{$:img}[=Brendan Eich=].webp {$:cap}"Brendan Eich" :)
(:{$:img}[=Hakon Wium Lie=].jpeg {$:cap}"Håkon Wium Lie" :)
(:{$:img}[=Tony Hoare=].jpeg {$:cap}"Tony Hoare" :)
(:{$:img}[=Donald E Knuth=].jpeg {$:cap}"Donald E Knuth" :)
(:{$:img}[=Ward Cunningham=].jpeg {$:cap}"Ward Cunningham" :)
(:{$:img}[=Niklaus Wirth=].jpeg {$:cap}"Niklaus Wirth" :)
(:{$:img}[=Edsger Dijkstra=].jpeg {$:cap}"Edsger W. Dijkstra" :)
(:{$:img}[=John Backus=].jpeg {$:cap}"John Backus " :)
(:{$:inc}send:)
(:comment ---------------------------------------------------------------------------------------:)
|
Look at this!
- way simpler page code
- can set width (w) or height (h)or both, setting one or the other maintains image ratio
- no putting stuff info config.php
- no recipe to download and install from cookbook
- no cascading stylesheets
- only pure PmWiki markup
- pixel perfect precision
Petko, can we please copy/move https://www.pmwiki.org/pmwiki/uploads/Cookbook/external-36c.svg
to my upload directory so I can use "Attach:" and also use the short name I use "x.svg" ?
Thanks --gnuzoo















