Topic: wlmedia wlimages path

Teayo
Avatar
Topic Opener
Joined: 2015-03-09, 22:11 UTC+1.0
Posts: 284
OS: Windows 11 | 64-bit
Version: 1.2.1 Release
Ranking
Tribe Member
Location: Deutschland
Posted at: 2025-05-25, 22:00 UTC+2.0
image path notice
https://www.widelands.org/wlmedia//wlimages/square_red_2.png Current
//
https://www.widelands.org/wlmedia/wlimages/square_red_2.png Expected
/ works too

Example image. This anomaly is also present in other images.

Why the "//" between "wlmedia" and "wlimages" ? Thats new, i didnt see that before.

Edited: 2025-05-25, 22:01 UTC+2.0

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48 UTC+1.0
Posts: 2668
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2025-05-26, 08:23 UTC+2.0

Moin,

this anomaly has no effect, as you already mentioned. Fixing this "anomaly" was one of my first commits to the website...

But without knowing where you see those path's with double slashes i can't tell anymore.

Edit: There might be some old images with such a path. Does this affect also new uploaded images?

Edited: 2025-05-26, 08:25 UTC+2.0

Top Quote
Teayo
Avatar
Topic Opener
Joined: 2015-03-09, 22:11 UTC+1.0
Posts: 284
OS: Windows 11 | 64-bit
Version: 1.2.1 Release
Ranking
Tribe Member
Location: Deutschland
Posted at: 2025-05-26, 10:05 UTC+2.0

Sehe diese Anomalie nicht mehr bei anderen Bildern. Scheint behoben zu sein.
Ich weiß garnicht wie die entstanden ist. Vielleicht ist Sie durch Copy+Paste entstanden mit:

![](/wlmedia//wlimages/...)

Aber wäre mir aufgefallen. Egal. Andere Frage noch:

#1 https://www.widelands.org/maps/
#2 https://www.widelands.org/maps/ice-protected-secret-vally-mark-ii/
#3 https://www.widelands.org/wlmedia/wlmaps/minimaps/Ice_Protected_Secret_Vally_-_Mark_II.wmf.png

1) Bild wird in reduzierter Größe dargestellt.
2) Bild wird in voller Größe dargestellt.
Wie kann ich die Darstellungs Größe eines Bildes festlegen ?

![](/wlmedia/wlimages/example_image.png){min_x:128px,min_y:128px,max_x:128px,max_y:128px}

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48 UTC+1.0
Posts: 2668
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2025-05-26, 17:10 UTC+2.0

Die dargestellte Größe von Bildern können von Benutzern nicht beeinflusst werden. D.h. sie werden bei großen Displays (Monitoren) immer mit der Originalgröße dargestellt.


Top Quote