[pmwiki-users] Image Captions

Martin Cuno martin.cuno at posteo.de
Fri Oct 31 05:43:17 PDT 2025


Hi everyone!

I frequently position images on websites and have become accustomed to doing so with the following specifications, e.g.: %align=right width=33pct hspace=3pct vspace=3pct 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-Talk (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 is the caption" appended to the image specifications. But this only works with 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 how can I get captions?

The problem is visible on my test page: https://www.edition-lgc.de/i.php?n=Sandbox.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üft.
www.avast.com



More information about the pmwiki-users mailing list