[pmwiki-users] image links

jdd jdd at dodin.org
Wed Dec 17 01:52:36 CST 2014

Le 16/12/2014 23:20, Petko Yotov a écrit :
> On 2014-12-13 19:12, jdd wrote:
>> || %height=100 %Attach:Main/gazelles-0004.jpg ||
>> Attach:Main/gazelles-0032.jpg || Attach:Main/gazelles-0033.jpg ||
>> that works. But the image is small and displaying the full image (by
>> right clic of the browser) quits the page. I would like to have it
>> open as an other page.
> Right-click on the image and in the context menu middle-click on the
> "View image" line to open the picture in a new tab.

thanks, I didn't know this one :-)
>> I tried many variants, but can't find a syntax that allow linking the
>> images and the %newwin% directive inside the table, still preserving
>> the image height.
> Maybe %newwin height=100px% [[ Attach:pic.jpg | Attach:pic.jpg ]]

ok, and only one occurrence is useful, I get this working line:

|| %newwin height=100 
||[[Attach:Main/gazelles-0033.jpg|Attach:Main/gazelles-0033.jpg]] ||

it's pretty hard to work with spaces as syntax :-(, but all my lines are 
the same (safe the picture number), and will be changed only once in a 
while, so it's good :-)

thanks a lot :-)

More information about the pmwiki-users mailing list