Commit e41ce0e3 authored by luoboss's avatar luoboss
Browse files

优化列表显示图片的宽高。

parent f2582acf
Showing with 1 addition and 1 deletion
+1 -1
......@@ -27,7 +27,7 @@
<?php case 'thumb': ?>
<?php if(!empty($value[$prefix . $field['field_name']])): ?>
<a href="<?= $value[$prefix . $field['field_name']]; ?>" data-fancybox>
<img class="am-radius" alt="<?= $value[$prefix . $field['field_name']]; ?>" src="<?= $value[$prefix . $field['field_name']]; ?>" width="140" height="140" />
<img class="am-radius" alt="<?= $value[$prefix . $field['field_name']]; ?>" src="<?= $value[$prefix . $field['field_name']]; ?>" width="140" />
</a>
<?php endif; ?>
<?php break;?>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment