Update DICOM image element ID and CSS class for legacy support

This commit is contained in:
Ross
2025-11-10 11:46:20 +00:00
parent 6d03e81e77
commit 02284be1a2
3 changed files with 4 additions and 4 deletions
@@ -23,7 +23,7 @@
{% for image in question.images.all %}
<span class="image-block">
Image {{ forloop.counter }}{% if image.description %} ({{image.description}}){% endif %}{% if image.feedback_image %} [feedback image]{% endif %}:
<div class="dicom-image rapid-img {% if image.feedback_image %}feedback-img{% endif %}"
<div class="dicom-image-legacy rapid-img {% if image.feedback_image %}feedback-img{% endif %}"
data-url="https://www.penracourses.org.uk{{ image.image.url}}"></div>
</span>
{% endfor %}