[pmwiki-users] Image Captions
Hans Bracker
design at softflow.uk
Sat Nov 1 03:12:04 PDT 2025
Of course you are using a 'skin'. On the test page you are using the
default, which is "pmwiki". You can change that to "pmwiki-responsive",
just add a line to your config.php near the top with
$Skin = "pmwiki-responsive";
The pmwiki-responsive skin is bundled with the default installation.
Hans
On 01/11/2025 10:02, Martin Cuno wrote:
> Thanks a lot, Hans – that's what I was afraid of. I don't have a skin at all, or rather, I have a very basic, self-made one. Perhaps that's madness from a PR perspective, but so far I can't bring myself to change it. I just tried adding `<meta name="viewport" content="width=device-width, initial-scale=1">` to the tmpl file, but that doesn't change the image's behavior either. So, could someone tell me sometime how to upgrade to "responsive" with minimal effort? But for now, I was just looking for a way to add a caption.
>
> Thank you! Martin
>
> ===== Ursprüngliche Nachricht =====
> Von: Hans Bracker <design at softflow.uk>
> Am: 31.10.2025, 20:19:09 Uhr
> Betreff: Re: [pmwiki-users] Image Captions
>
> The pmwiki skin will cause this expansion when zooming. You need to use
> a skin which follows "responsive" layout, like 'pmwiki-responsive' or
> 'amber' or perhaps some other, or an adaptation of such. Then the 33%
> width will refer to the wikitext division part of the page (the page
> less sidebar etc). Also if you use an image which is less than the 33%
> width, with reference to pixels, then such smaller image will not
> automatically be made larger to fill the 1/3 width.
>
> Hans
>
> On 31/10/2025 18:28, Martin Cuno wrote:
>> Thanks, Hans! But now the graphic's width doesn't stay at 33% of the screen; it expands as I zoom. I'd prefer the former. What does the 33% refer to in your
> solutions? As you can see, I don't have a solid understanding of HTML and the like.
>> Martin
>>
>
More information about the pmwiki-users
mailing list