我的图像大小是固定的。如何使其灵活?

My image size is fixed. How to make it flexible?

我创建了这个自定义编码的博客页面 - Link

博客页面内容的宽度非常完美,这就是我想要的。但是如果你看一下图像,它们也会被拉伸以匹配内容的宽度。我不希望发生这种情况,而且图像被拉伸了

这是我为创建内容宽度而添加的 css 代码:

.post.type-post.status-publish * {width: 800px !important;max-width: 800px !important; margin: auto !important;}
如何使图像保持灵活并根据我的需要更改大小,同时保持内容的宽度不变?

请帮帮我。

谢谢!

这对我有用:

.post.type-post.status-publish img {
    width:auto !important;
}