Skip to content

Commit

Permalink
Merge pull request #653 from kagemomiji/issue647-fix-heavy-loading-image
Browse files Browse the repository at this point in the history
#647 Fix performance issues of loading image
  • Loading branch information
kagemomiji authored Nov 29, 2024
2 parents bf829c6 + 74801e0 commit 13fa2ca
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions airsonic-main/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-jmx</artifactId>
<version>4.2.27</version>
<version>4.2.29</version>
</dependency>
<!-- END Metrics -->

Expand Down Expand Up @@ -157,7 +157,7 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<version>1.78.1</version>
<version>1.79</version>
<scope>runtime</scope>
</dependency>
<!-- END Spring -->
Expand Down Expand Up @@ -558,7 +558,7 @@
<dependency>
<groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
<version>75.1</version>
<version>76.1</version>
</dependency>
<dependency>
<groupId>org.digitalmediaserver</groupId>
Expand Down
6 changes: 3 additions & 3 deletions airsonic-main/src/main/resources/templates/coverArt.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
</th:block>

<a th:if="${showLink}" th:href="${targetUrl}" th:title="${caption1}">
<img th:src="${coverArtUrl}" th:id="${imgId}" th:alt="${caption1}" style="display:none">
<img th:src="${coverArtUrl}" th:id="${imgId}" th:alt="${caption1}" style="display:none" loading="lazy">
</a>
<img th:unless="${showLink}" th:src="${coverArtUrl}" th:id="${imgId}" th:alt="${caption1}" style="display:none">
<img th:unless="${showLink}" th:src="${coverArtUrl}" th:id="${imgId}" th:alt="${caption1}" style="display:none" loading="lazy">

<a th:if="${showZoom}" th:href="@{/coverArt(id=${albumId})}" class="fancy" rel="zoom" th:title="${param.caption1}">
<img th:src="${coverArtUrl}" th:id="${imgId}" th:alt="${caption1}" style="display:none">
<img th:src="${coverArtUrl}" th:id="${imgId}" th:alt="${captionh1}" style="display:none" loading="lazy">
</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion install/docker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<groupId>org.apache.maven.plugins</groupId>
<configuration>
<stripClassifier>true</stripClassifier>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.4</version>
<version>3.3.6</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -357,7 +357,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<executions>
<execution>
<id>init</id>
Expand Down

0 comments on commit 13fa2ca

Please sign in to comment.