[pmwiki-users] %lframe thumb% Image captions

kirpi at kirpi.it kirpi at kirpi.it
Wed Sep 17 10:03:24 CDT 2008


>> The  %lframe thumb%  markup is quite smart and useful.
>>  - Image is reduced on the fly

> This is not exactly correct, the image is fully downloaded and re-sized in the
> browser. This is just a scaled-down huge picture, not a real thumbnail
> (smaller picture, fewer bytes).

Yes, sorry.
You are right.


>> The (known perhaps) issue is: I seem not to find a way to let the text
>> flow within the box, as opposed to the text force the whole box to
>> expand.
>
> I would use the following :
>
>>>rframe width=120px<<
> %thumb% Attach:pic.jpg | Caption
>>><<
>
> OR possibly (not sure if it works in all browsers)
>>>lframe thumb<<
> %thumb% Attach:pic.jpg | Caption
>>><<

Again: you are right, Petko.
The first one works nice.
I just tested it
http://www.kirpi.it/wiki/pmwiki.php?n=Test.ImageCaption on Windows
with Firefox, Opera, Explorer and Chrome.

Thank you!
Luigi



More information about the pmwiki-users mailing list