summaryrefslogtreecommitdiff
path: root/sublab_project/news
diff options
context:
space:
mode:
Diffstat (limited to 'sublab_project/news')
-rw-r--r--sublab_project/news/templates/news/news_image.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/sublab_project/news/templates/news/news_image.html b/sublab_project/news/templates/news/news_image.html
index 3c490c6..cac6bdc 100644
--- a/sublab_project/news/templates/news/news_image.html
+++ b/sublab_project/news/templates/news/news_image.html
@@ -7,7 +7,7 @@
<h2>Bild: {{ object.title }}</h2>
<div>
{% thumbnail object.image "820" upscale=False as image %}
- <img src="{{ image.url }}" width="{{ image.width }}" height="{{ image.height }}" align="left" />
+ <img src="{{ image.url }}" style="max-width:{{ image.width }}px; max-height:{{ image.height }}px;" class="contentimage" />
{% endthumbnail %}
</div>
<p><a href="{{ object.get_absolute_url }}">Zurück zum Artikel</a></p>