summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>