Merge pull request #1237 from Zetaphor/patch-1

This commit is contained in:
SleeplessOne1917 2023-06-13 22:42:59 +00:00 committed by GitHub
commit f61037f5d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,7 @@ export class PictrsImage extends Component<PictrsImageProps, any> {
<img <img
src={this.props.src} src={this.props.src}
alt={this.alt()} alt={this.alt()}
title={this.alt()}
loading="lazy" loading="lazy"
className={classNames({ className={classNames({
"img-fluid": !this.props.icon && !this.props.iconOverlay, "img-fluid": !this.props.icon && !this.props.iconOverlay,