loading thumbnail instead of full image

This commit is contained in:
Anton Tranelis 2024-02-04 14:53:20 +01:00
parent b43c4f3cfb
commit 2844bbfeff

View File

@ -78,7 +78,7 @@ export function HeaderView({ item, setItemFormPopup }: {
<div className="tw-flex tw-flex-row">{ <div className="tw-flex tw-flex-row">{
avatar ? avatar ?
<div className="tw-w-10 tw-rounded-full"> <div className="tw-w-10 tw-rounded-full">
<img className="tw-rounded-full" src={avatar} /> <img className="tw-rounded-full" src={`${avatar}?width=80&height=80`} />
</div> </div>
: :
"" ""