Potential issue with plugin PITM

Any pictures pasted into, e.g. task description, should be enlargeable. Will say, a click on it opens a new browser tab with the picture in a larger dimension.
Unfortunately, this doesn’t work here. A new tab is opened, but the image is obviously not found.

My config:

Application version: 1.2.37
PHP version: 8.2.18
PHP SAPI: apache2handler
HTTP Client: cURL
OS version: Linux 6.1.0-21-amd64
Database driver: sqlite
Database version: 3.40.1
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0

Can someone confirm this issue?
Thanks for testing.

PS: Its clearly NOT related to Kanboard 1.2.37, any older Version I’ve checked leads to the same.

Hi, I did some tests here – not in public View for Task #20, of course.

Worked fine!

My Configuration

  • Application version: 1.2.36

  • PHP version: 8.3.6

  • PHP SAPI: fpm-fcgi

  • HTTP Client: cURL

  • OS version: Linux 5.4.0-181-generic

  • Database driver: mysql

  • Database version: 10.5.23-MariaDB-1:10.5.23+maria~ubu2004-log

  • Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:117.0a) Gecko/20100101 SeaMonkey/2.53.18, Build 20240329110002

  • Profile Language: English

  • Plugins:

    • Wiki 0.3.3a by Alfred
    • MarkdownPlus with modfied MarkdownPlusHelper.php (by colonelpopcorn 2024-05-20)
    • Broadcast 1.0.1
    • Customizer 1.14.2
    • MarkdownPlus 1.1.4_Master240531
    • PasteImageToMarkdown 1.0.3
    • PluginManager 4.7.0
    • Self-Registration 1.0.8
    • SubtaskDescription 1.1.1
    • Task2pdf 1.8.0

It’s really hard to believe, as here it fails on three different installations. :open_mouth:

1 Like

Which patched MarkdownPlus version do you use? And do you use that one also in Installations with older KANBOARD Versions?

I doubt that that might lead to a solution, but did yo check the Image link whether it shows somethinig unexpected? My one is

<img src="?controller=FileViewerController&amp;action=image&amp;task_id=20&amp;file_id=8" class="enlargable">



An update: It works with Firefox on Windows, but not on Linux. :confused:

1 Like

That makes oservations even more strange …

Works means “PITM” or “view image”?

As I wrote in my initial post: the Pasted pic is shown, but clicking on it doesn’t enlarge the pic in a new tab.

My question was a different one. What makes the trick?

  • PITM with FF on WINDOWS instead of Linux?
  • Viewing the pasted picture with FF on WINDOWS instead of Linux?

There is no trick. I have and use Linux only, for Kanboard server and client as well.
Only if I connect with my wife’s Windows PC, the enlargement works. For Firefox on Linux, no way.

EDIT: Of course. I also tried with a naked profile, without any possibly disturbing add-ons.

1 Like

So you probably also see the problem in my test KANBOARD Task? So may be we can see results of other FF users?

Maybe, if I had access to it.

After you reproduced the problem on my KANBOARD-Installation with FF on Linux:
Any suspect why this only affects PITM pictures, but noch normal attachments?

In parallel, I will ask FF QA for their assessment.

And I took the opportunity to install VirtualBox on my WIN PC with Linux Mint ‘Virginia’ Cinnamon (64 Bit). Need Linux every now and then …

1 Like


I was able to reproduce the problem with

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
  1. I downloaded that FF version (WIN 64 en-US
  2. Unzipped “Firefox Setup 127.0.exe”
  3. Launched …\core\firefox.exe
  4. logged in to newkanboard, opened “Task #20 Potential issue with plugin PITM”
  5. Clicked the PITM picture
    New Tab opens with placeholder instead of image (although my nightly FF shows the picture) :disappointed_relieved:

So might be related to FF version 126 - 127, not to OS?
My test results:

  • FF 126 (unzipped installer.exe without installation): fails to show image
  • FF 127 (unzipped installer.exe without installation): fails to show image
  • FF 128 (unzipped installer.exe without installation): SHOWS image
  • FF 129 (unzipped installer.exe without installation): SHOWS image
1 Like

Ah, then a solution will come, as soon as my Linux updates to FF 128. Currently, it’s at 126. :worried:

Yesterday, I forgot to ask: Your wife’s Browser / version?

Firefox 125.0.3, Windows 11

1 Like

Ufff… For a moment I was afraid that she might be using 126.x …
But I can confirm, 125.0.3 from Repository also shows the PITM image in my test task. So the problem indeed seems to be limited to FF 126, 127.

1 Like

Moin Moin

I had this issue as well on our installation and Firefox as well, I just didn’t have the time to track it down myself, yet
Thanks for your efforts!

My plan is to rewrite the click behavior to use the same popup as in the attachments

Hopefully I can get this done today


Joho it’s done!

On click the image is simply displayed natively in the browser now

I removed the custom image box wrapper.
I’m not even sure why I built one in the first place…

I opened a mergerequest for the plugin browser.

if you need a quick fix, you can download and install it from here

Have a nice weekend!