Thumb
👈🏻 GNUZoo
(:comment ------------------------------------------------------------------------------------------------------------------------------:)
[[#thumbs]]
(:div container style="display: flex; flex-wrap: wrap; gap: 4px; align-items: bottom;":)
[[#end]]
(:comment ------------------------------------------------------------------------------------------------------------------------------:)
[[#thumb]]
(:comment define some page text variables:)
(:cellstylecommon:padding: 0; border-left: 2px solid white; border-right: 2px solid white;:)
(:captioncellstyle:align=center style="{$:cellstylecommon} border-top: 2px solid white; border-bottom: none ;":)
(:imagecellstyle: align=center style="{$:cellstylecommon} line-height: 0; border-top: none; border-bottom: 2px solid white;":)
(:thm1:cellnr {$:imagecellstyle}:)
(:thm2:newwin padding=0 display=block%[[:)
(:thm3:"Click for full size image"]]:)
(:comment copy PTV from the page that includes this page to local PTV:)
(:h:{*$:h}:)
(:w:{*$:w}:)
(:comment ----------------------------------------------------------------------------------------------------:)
(:table border=0 style="border-collapse: collapse; padding: 0;":)
(:cell {$:captioncellstyle}:)%font-weight=bold%{$$caption}
(:comment ----------------------------------------------------------------------------------------------------:)
(:if1 ! empty {$:w}:)(:if2 ! empty {$:h}:)(:{$:thm1}:)%width={$:w} height={$:h} {$:thm2}{$$img}|{$$img}{$:thm3}
(:else2:)(:{$:thm1}:)%width={$:w} {$:thm2}{$$img}|{$$img}{$:thm3}
(:if2end:)
(:elseif1 ! empty {$:h}:)(:{$:thm1}:)%height={$:h} {$:thm2}{$$img}|{$$img}{$:thm3}
(:else1:)(:{$:thm1}:)%height=100px {$:thm2}{$$img}|{$$img}{$:thm3}
(:if1end:)
(:comment ----------------------------------------------------------------------------------------------------:)
(:cell style="vertical-align: bottom; padding: 0; line-height: 0;":)%vertical-align=bottom height=8px width=8px%Attach:x.svg
(:tableend:)
[[#end]]
(:comment ------------------------------------------------------------------------------------------------------------------------------:)
[[#thumbsend]]
(:divend:)
[[#end]]
(:comment ------------------------------------------------------------------------------------------------------------------------------:)
|