]> git.0d.be Git - panikweb.git/commitdiff
news: adjust image sizes to fit new layout
authorFrédéric Péters <fpeters@0d.be>
Sun, 6 Oct 2013 21:38:29 +0000 (23:38 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sun, 6 Oct 2013 21:38:29 +0000 (23:38 +0200)
panikweb_templates/templates/news/inline.html
panikweb_templates/templates/news/roll.html

index bf81242a3e8a8277f4fa28e19813201ec9936e81..36fc0a68718f8491c5c9d3a7ed564908797ab792 100644 (file)
@@ -10,7 +10,7 @@
 
                <div class="logo">
                {% if class == "special" and content.image %}
-                       <img class="normal" src="{{ content.image|thumbnail:'640x480' }}"/>     
+                       <img class="normal" src="{{ content.image|thumbnail:'480x320' }}"/>
                {% elif content.image %}        
                        <img class="left" src="{{ content.image|thumbnail:'60x60' }}"/> 
                {% else %}
index 215a062b7603f8f6b2c1b65c845d0b387c403a56..0285c013b1356852da3d02796d1dd6fa0d6865fa 100644 (file)
@@ -7,7 +7,7 @@
                     id="newsRollId-{{ focus.id }}"
                     class="">
                                        <a 
-                        style="max-width:100%;height:300px;background: no-repeat 50% 50% url('{{ focus.content_image|thumbnail:'800x600' }}');" 
+                        style="max-width:100%;height:300px;background: no-repeat 50% 50% url('{{ focus.content_image|thumbnail:'500x375' }}');"
                         class="block news relative"
                        href="{{ focus|get_focus_url }}">
                                                {% if focus.content_category_title %}