Immich quality switcher

Script for Immich that adds a button to show original image or video instead of scaled down or transcoded version

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Darkrael56
日安装量
0
总安装量
6
评分
0 0 0
版本
2024-11-30
创建于
2024-11-30
更新于
2024-11-30
大小
8.4 KB
许可证
MIT
适用于

Introduction

A script for Immich that adds a button to show original image or video instead of scaled down or transcoded version. This is especially useful if you have a pretty low quality transcoded video for mobile access on the go but also want to look at the library in high quality at a computer without downloading every image and video.

Usage

Important:

You must add a new @match condition in the header if you host you own instance to make sure that the script runs there. By default, the script only works on the demo app of immich. So if you have an instance under https://myimmichinstance.example you should add the following below line 6: @match https://myimmichinstance.example/*

You can change the default behavior by changing the global variable SHOW_ORIGINAL in line 18 to true if you want to load the original quality by default.

Otherwise just install the script and it should work.