Fixing image sizes and ratio

This commit is contained in:
vdv committed 2025-03-29 11:50:40 +01:00
1 parent 7e9fde87bc
commit 1f78be0f98
5 files changed
+9 -4

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
<?php
$gallery_attributes = [
'columns' => 2,
'size' => 'medium',
'size' => 'gallery',
'link' => 'file',
];
if ( array_key_exists('print', $_GET)) {
@@ -1 +1 @@
.gallery figure img{aspect-ratio:16/9;-o-object-fit:cover;object-fit:cover}
+1 -1
View File
@@ -1 +1 @@
.gallery figure img{aspect-ratio:16/9;-o-object-fit:cover;object-fit:cover}