From f820a78397c502125dccdec02add2c3f62709bd0 Mon Sep 17 00:00:00 2001 From: Rasmus Fuhse <fuhse@data-quest.de> Date: Fri, 14 Jul 2023 14:27:03 +0000 Subject: [PATCH] =?UTF-8?q?Resolve=20"Werkzeuge:=20Info-Dialoge=20f=C3=BCr?= =?UTF-8?q?=20Plugins=20zeigen=20keine=20Bilder=20an"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #2847 Merge request studip/studip!1932 --- app/views/course/contentmodules/info.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/course/contentmodules/info.php b/app/views/course/contentmodules/info.php index 111a6114e42..5f536eb5e2a 100644 --- a/app/views/course/contentmodules/info.php +++ b/app/views/course/contentmodules/info.php @@ -50,7 +50,7 @@ <a href="<?= $plugin->getPluginURL().$metadata['screenshots']['path'].'/'.$pictures['source'] ?>" data-lightbox="<?= htmlReady($metadata['displayname'] ?? $plugin->getPluginName()) ?>" data-title="<?= htmlReady($pictures['title']) ?>"> - <img src="<?= $plugin->getPluginURL().$metadata['screenshots']['path'].'/'.$pictures['source'] ?>" alt=""> + <img src="<?= $plugin->getPluginURL() . ($plugin instanceof StudIPPlugin ? '/' : '') . $metadata['screenshots']['path'] . '/' . $pictures['source'] ?>" alt=""> <?= htmlReady($pictures['title']) ?> </a> </li> -- GitLab