-
- {{foreach $columns.fc as $img}}
- {{include file="content/image.tpl" image=$img}}
- {{/foreach}}
+{{foreach $rows as $images}}
+
+ {{foreach $images as $image}}
+ {{* The absolute pixel value in the calc() should be mirrored from the .imagegrid-row column-gap value *}}
+ {{include file="content/image.tpl"
+ image=$image
+ allocated_height="calc(`$image.heightRatio * $image.widthRatio / 100`% - 5px / `$column_size`)"
+ allocated_width="`$image.widthRatio`%"
+ }}
+ {{/foreach}}
-
- {{foreach $columns.sc as $img}}
- {{include file="content/image.tpl" image=$img}}
- {{/foreach}}
-
-
\ No newline at end of file
+{{/foreach}}
diff --git a/view/theme/frio/scheme/black.css b/view/theme/frio/scheme/black.css
index debf9d99b3..561f708a81 100644
--- a/view/theme/frio/scheme/black.css
+++ b/view/theme/frio/scheme/black.css
@@ -394,3 +394,7 @@ input[type="text"].tt-input {
textarea#profile-jot-text:focus + #preview_profile-jot-text, textarea.comment-edit-text:focus + .comment-edit-form .preview {
border-color: $link_color;
}
+
+figure.img-allocated-height {
+ background-color: rgba(255, 255, 255, 0.15);
+}
diff --git a/view/theme/frio/scheme/dark.css b/view/theme/frio/scheme/dark.css
index add36fff10..434681c558 100644
--- a/view/theme/frio/scheme/dark.css
+++ b/view/theme/frio/scheme/dark.css
@@ -354,3 +354,7 @@ input[type="text"].tt-input {
textarea#profile-jot-text:focus + #preview_profile-jot-text, textarea.comment-edit-text:focus + .comment-edit-form .preview {
border-color: $link_color;
}
+
+figure.img-allocated-height {
+ background-color: rgba(255, 255, 255, 0.05);
+}
diff --git a/view/theme/frio/templates/search_item.tpl b/view/theme/frio/templates/search_item.tpl
index 2d130cab80..bdc2ca3840 100644
--- a/view/theme/frio/templates/search_item.tpl
+++ b/view/theme/frio/templates/search_item.tpl
@@ -240,10 +240,10 @@
{{if $item.ignore}}
- {{$item.ignore.do}}
+ {{$item.ignore.do}}
- {{$item.ignore.undo}}
+ {{$item.ignore.undo}}
{{/if}}
diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl
index 16494e1c0c..00e738d9a0 100644
--- a/view/theme/frio/templates/wall_thread.tpl
+++ b/view/theme/frio/templates/wall_thread.tpl
@@ -381,10 +381,10 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.ignore}}
- {{$item.ignore.do}}
+ {{$item.ignore.do}}
- {{$item.ignore.undo}}
+ {{$item.ignore.undo}}
{{/if}}
@@ -560,10 +560,10 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.ignore}}
- {{$item.ignore.do}}
+ {{$item.ignore.do}}
- {{$item.ignore.undo}}
+ {{$item.ignore.undo}}
{{/if}}