mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-30 01:25:30 +00:00
size reduction images
This commit is contained in:
@@ -527,9 +527,12 @@ export class SinglePageViewer extends HTMLElement {
|
||||
extractedHeading = indicatorClone.textContent.trim();
|
||||
}
|
||||
|
||||
// Use full-quality image for single page viewer (not the preview src)
|
||||
const fullImageSrc = imgElement.getAttribute('data-full-image') || imgElement.src;
|
||||
|
||||
// Update the current view with the new page
|
||||
this.show(
|
||||
imgElement.src,
|
||||
fullImageSrc,
|
||||
imgElement.alt,
|
||||
pageNumber,
|
||||
this.currentIsBeilage,
|
||||
|
||||
Reference in New Issue
Block a user