New share link

This commit is contained in:
Curry141 2025-05-14 17:07:12 +02:00 committed by GitHub
parent 5bed69ecd8
commit 1b1123ac3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -7,17 +7,17 @@ path = path for the image starting from the root, for example /Dani/10225.jpg
*/ */
function changeUrlToFallback(aid,imgid,path) { function changeUrlToFallback(aid,imgid,path) {
try { try {
document.getElementById(imgid).src = "https://drive.vichingo455.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080&a=true"; document.getElementById(imgid).src = "https://drive.vichingo455.freeddns.org/apps/files_sharing/publicpreview/9AejGcwKf9F735n?file=" + path + "&x=1920&y=1080&a=true";
} catch {} } catch {}
try { try {
document.getElementById(aid).href = "https://drive.vichingo455.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080&a=true"; document.getElementById(aid).href = "https://drive.vichingo455.freeddns.org/apps/files_sharing/publicpreview/9AejGcwKf9F735n?file=" + path + "&x=1920&y=1080&a=true";
} catch {} } catch {}
} }
function changeUrlToFallbackNoTrue(aid,imgid,path) { function changeUrlToFallbackNoTrue(aid,imgid,path) {
try { try {
document.getElementById(imgid).src = "https://drive.vichingo455.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080"; document.getElementById(imgid).src = "https://drive.vichingo455.freeddns.org/apps/files_sharing/publicpreview/9AejGcwKf9F735n?file=" + path + "&x=1920&y=1080";
} catch {} } catch {}
try { try {
document.getElementById(aid).href = "https://drive.vichingo455.freeddns.org/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080"; document.getElementById(aid).href = "https://drive.vichingo455.freeddns.org/apps/files_sharing/publicpreview/9AejGcwKf9F735n?file=" + path + "&x=1920&y=1080";
} catch {} } catch {}
} }