diff options
author | Christian Franke <nobody@nowhere.ws> | 2012-01-09 08:23:29 +0100 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2012-01-09 08:23:29 +0100 |
commit | 75200e3504bd5f48f3c77cc7299ec32fbae1d3e7 (patch) | |
tree | 00f44574ee5b7ffc53f8a9b9ba414c47565b0dcd /sublab_project/news/templates | |
parent | eadf24cd3ee99d4107f21e654a9d2821724dd64a (diff) |
slight improvements to news_image
Diffstat (limited to 'sublab_project/news/templates')
-rw-r--r-- | sublab_project/news/templates/news/news_image.html | 2 |
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> |