mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-26 05:27:35 +02:00
Use webp for thumbnails
This commit is contained in:
parent
88e29ac263
commit
3b6f8d7db1
@ -121,7 +121,7 @@ export class PhotoProcessing {
|
||||
return path.join(
|
||||
ProjectPath.TranscodedFolder,
|
||||
ProjectPath.getRelativePathToImages(path.dirname(mediaPath)),
|
||||
file + '_' + size + '.jpg'
|
||||
file + '_' + size + '.webp'
|
||||
);
|
||||
}
|
||||
|
||||
@ -146,7 +146,7 @@ export class PhotoProcessing {
|
||||
.digest('hex') +
|
||||
'_' +
|
||||
size +
|
||||
'.jpg'
|
||||
'.webp'
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user