From 76c1ec5c9d4ab8c299f2c081b43a7456dece5fef Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 13 Mar 2025 16:23:16 +0000
Subject: [PATCH] Bildrotation hinzugefuegt
---
src/de/uhilger/fm/Catalog.java | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/de/uhilger/fm/Catalog.java b/src/de/uhilger/fm/Catalog.java
index eb314a2..8536c2b 100644
--- a/src/de/uhilger/fm/Catalog.java
+++ b/src/de/uhilger/fm/Catalog.java
@@ -72,10 +72,13 @@
if (lowerName.endsWith(ImageFileFilter.JPEG)
|| lowerName.endsWith(ImageFileFilter.JPG)
|| lowerName.endsWith(ImageFileFilter.PNG)) {
+
+ String lastModified = Long.toString(file.lastModified());
datei.setBild(true);
String ext = dateiName.substring(dateiName.lastIndexOf(STR_DOT));
String ohneExt = dateiName.substring(0, dateiName.lastIndexOf(STR_DOT));
- datei.setMiniurl(urlBase + /*"/" + */ relPathAndName + ohneExt + ImageFileFilter.TN + ext);
+ datei.setMiniurl(urlBase + /*"/" + */ relPathAndName + ohneExt +
+ ImageFileFilter.TN + ext + "?lm=" + lastModified);
//buildImgSrc(file, datei, ohneExt, ext);
}
liste.add(datei);
--
Gitblit v1.9.3