mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-16 09:24:00 +00:00
Upping thumbnail size.
This commit is contained in:
parent
cbed185040
commit
a4d2c2ab71
2 changed files with 3 additions and 1 deletions
2
RELEASES.md
vendored
2
RELEASES.md
vendored
|
@ -13,6 +13,8 @@ wget https://raw.githubusercontent.com/dessalines/lemmy/master/docker/prod/migra
|
||||||
sudo bash migrate-pictshare-to-pictrs.bash
|
sudo bash migrate-pictshare-to-pictrs.bash
|
||||||
```
|
```
|
||||||
|
|
||||||
|
*You'll have to log in again to pick up your avatar*
|
||||||
|
|
||||||
Apart from that, we've closed [~90 issues!](https://github.com/LemmyNet/lemmy/milestone/16?closed=1), including:
|
Apart from that, we've closed [~90 issues!](https://github.com/LemmyNet/lemmy/milestone/16?closed=1), including:
|
||||||
|
|
||||||
- Site-wide list of recent comments.
|
- Site-wide list of recent comments.
|
||||||
|
|
2
ui/src/utils.ts
vendored
2
ui/src/utils.ts
vendored
|
@ -481,7 +481,7 @@ export function pictrsImage(hash: string, thumbnail: boolean = false): string {
|
||||||
}
|
}
|
||||||
|
|
||||||
let out = `${root}/${canUseWebP() ? 'webp/' : ''}${
|
let out = `${root}/${canUseWebP() ? 'webp/' : ''}${
|
||||||
thumbnail ? 'thumbnail192/' : ''
|
thumbnail ? 'thumbnail256/' : ''
|
||||||
}${hash}`;
|
}${hash}`;
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue