<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>预览图片附件</title>
    <style>
        img {
            max-height: 100%;
            margin: 0 auto;
            display: block;
        }
    </style>
</head>
<body style="overflow:auto;">
<img th:attr="src=@{${filePath}}" alt="Preview Image"/>


</body>

</html>