summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-09-25 19:59:04 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-09-25 19:59:04 +0200
commit4e2a15aec8f916c3ceca4b2a95915f151dbde83a (patch)
tree1e7c95b5ceebcec887fc3703559022ed8fda7074
parent90b60191623e58db907acbfe809b4c895bce6256 (diff)
downloadIshtar-4e2a15aec8f916c3ceca4b2a95915f151dbde83a.tar.bz2
Ishtar-4e2a15aec8f916c3ceca4b2a95915f151dbde83a.zip
🐛 remove "BASE_URL" on image sheet (unnecessary locally and buggy on remote access)
-rw-r--r--changelog/en/changelog_2022-06-15.md6
-rw-r--r--changelog/fr/changelog_2023-01-25.md8
-rw-r--r--ishtar_common/templates/ishtar/blocks/window_image.html4
3 files changed, 15 insertions, 3 deletions
diff --git a/changelog/en/changelog_2022-06-15.md b/changelog/en/changelog_2022-06-15.md
index b50c14633..64423d2bf 100644
--- a/changelog/en/changelog_2022-06-15.md
+++ b/changelog/en/changelog_2022-06-15.md
@@ -1,3 +1,9 @@
+v4.0.59 - 2023-
+--------------------
+
+### Bug fixes ###
+- remove "BASE_URL" on image sheet (unnecessary locally and buggy on remote access)
+
v4.0.58 - 2023-09-25
--------------------
diff --git a/changelog/fr/changelog_2023-01-25.md b/changelog/fr/changelog_2023-01-25.md
index e0aa7fb48..adfbcf282 100644
--- a/changelog/fr/changelog_2023-01-25.md
+++ b/changelog/fr/changelog_2023-01-25.md
@@ -1,4 +1,10 @@
-v4.0.58 - 2023-09-25
+v4.0.59 - 2023-
+--------------------
+
+### Corrections de dysfonctionnements ###
+- suppression de "BASE_URL" sur les fiches images (non nécessaire localement et source de dysfonctionnements en accès distant)
+
+v4.0.58 - 2023-09-26
--------------------
### Corrections de dysfonctionnements ###
diff --git a/ishtar_common/templates/ishtar/blocks/window_image.html b/ishtar_common/templates/ishtar/blocks/window_image.html
index 376093171..ccdb4b332 100644
--- a/ishtar_common/templates/ishtar/blocks/window_image.html
+++ b/ishtar_common/templates/ishtar/blocks/window_image.html
@@ -33,13 +33,13 @@
{% if item.main_image and item.main_image.image %}{% with image=item.main_image %}
<a data-sub-html="#lightgallery-{{window_id}}-caption-0"
href="{{image.image.url}}" class="window-main-image">
- <img class='card-img-top' src="{{BASE_URL}}{{image.thumbnail.url}}">
+ <img class='card-img-top' src="{{image.thumbnail.url}}">
</a>
{% endwith %}{% endif %}
{% for image in item.images_without_main_image.all %}{% if image.image %}
<a data-sub-html="#lightgallery-{{window_id}}-caption-{{forloop.counter}}"
href="{{image.image.url}}" class="lightgallery-subimage">
- <img src="{{BASE_URL}}{{image.thumbnail.url}}">
+ <img src="{{image.thumbnail.url}}">
</a>
{% endif %}{% endfor %}
</div>