Image Captions

"Martin Cuno" <[email protected]> Fri, 31 Oct 2025 12:43:17 +0000
Newsgroups gmane.comp.web.wiki.pmwiki.user
Message-ID <[email protected]>
Hi everyone!

I frequently position images on websites and have become accustomed to doin=
g so with the following specifications, e.g.: %align=3Dright width=3D33pct =
hspace=3D3pct vspace=3D3pct p70i%

For a while, I used "rfloat" and "lfloat" instead of "align," but I couldn'=
t get it to work. Even now, I see that the position and size are incorrect.=
 I found this confirmed here: https://www.pmwiki.org/wiki/PmWiki/Images-Tal=
k (see: Why doesn't pct specification work in conjunction with lfloat?). Is=
 there any clarification on this? While testing, I got the impression that =
it stops working above a certain image size (file size or pixels!).

I would like to be able to insert captions using the syntax shown: "|This i=
s the caption" appended to the image specifications. But this only works wi=
th rfloat/lfloat, and then the other settings are no longer correct.

I'd prefer to stick with "align" because my websites are full of it. But ho=
w can I get captions?

The problem is visible on my test page: https://www.edition-lgc.de/i.php?n=
=3DSandbox.Testseite0001

Does anyone know a simple solution that I can easily use in my daily work?

Thanks!

Martin


-- =

Diese E-Mail wurde von Avast-Antivirussoftware auf Viren gepr=FCft.
www.avast.com