Show More
@@ -25,21 +25,9 b'' | |||||
25 | {% for post in posts %} |
|
25 | {% for post in posts %} | |
26 | <div class="gallery_image"> |
|
26 | <div class="gallery_image"> | |
27 | {% with post.get_first_image as image %} |
|
27 | {% with post.get_first_image as image %} | |
28 |
|
|
28 | {% autoescape off %} | |
29 |
|
|
29 | {{ image.get_view }} | |
30 | class="thumb" |
|
30 | {% endautoescape %} | |
31 | href="{{ image.image.url }}"> |
|
|||
32 | <img class="post-image-preview" |
|
|||
33 | src="{{ image.image.url_200x150 }}" |
|
|||
34 | alt="{{ post.id }}" |
|
|||
35 | width="{{ image.pre_width }}" |
|
|||
36 | height="{{ image.pre_height }}" |
|
|||
37 | data-width="{{ image.width }}" |
|
|||
38 | data-height="{{ image.height }}"/> |
|
|||
39 | <img class="post-image-full" |
|
|||
40 | src="{{ image.image.url }}" /> |
|
|||
41 | </a> |
|
|||
42 | </div> |
|
|||
43 | <div class="gallery_image_metadata"> |
|
31 | <div class="gallery_image_metadata"> | |
44 | {{ image.width }}x{{ image.height }} |
|
32 | {{ image.width }}x{{ image.height }} | |
45 | {% image_actions image.image.url request.get_host %} |
|
33 | {% image_actions image.image.url request.get_host %} |
General Comments 0
You need to be logged in to leave comments.
Login now