Skip to content

Weather Icon Images Fail to Display when Multiple Icons are called (eg: 'light Intensity drizzle, mist') #523

@andyk-immich

Description

@andyk-immich

Version

1.0.30

Deployment Method

Web

Description

When the source from openweathermap.org for my lat-long has two weather icon images (eg: moderate rain, mist), it fails to display the images and distorts the layout.

The image linked in the source appears to link to:

openweathermap.org/img/wn/10n.png <- works with one image
openweathermap.org/img/wn/10n,50n.png <- does not work with two or greater icon images comma separated

Image

Image

Reproduction

If the weather for a specific area has two or more descriptors, two or more images will attempt to link in url and this fails.

Expectations

Either multiple icons are ignored and only one icon image appears, or multiple appear ok.

Configuration

name: immichframe1
services:
  immichframe:
    container_name: immichframe1
    image: ghcr.io/immichframe/immichframe:latest
    restart: on-failure
    ports: 
      - 30042:8080
    environment:
      TZ: America/Vancouver
      ImmichServerUrl: http://<redacted>
      ApiKey: <redacted>
      #AuthenticationSecret: ""
      Interval: 10
      TransitionDuration: 2
      ImageZoom: false
      #ImageFill: "false"
      #Layout: splitview         
      #DownloadImages: "false"
      #ShowMemories: "false"
      #ShowFavorites: "false"
      #ShowArchived: "false"
      #ImagesFromDays: ""
      #ImagesFromDate: ""
      #ImagesUntilDate: ""
      #RenewImagesDuration: "30"
      #Rating: "5"
      Albums: <redacted>
      #ExcludedAlbums: "ALBUM3,ALBUM4"
      #People: "PERSON1,PERSON2"
      #Webcalendars: "https://calendar.mycalendar.com/basic..."
      #RefreshAlbumPeopleInterval: "12"
      ShowClock: true
      ClockFormat: HH:mm
      ShowPhotoDate: true
      PhotoDateFormat: yyyy-MM-dd
      #ShowImageDesc: "true"
      #ShowPeopleDesc: true
      ShowImageLocation: true
      ImageLocationFormat: City
      ShowPeopleDesc: false
      ShowAlbumName: false
      ShowProgressBar: false
      #PrimaryColor: "#F5DEB3"
      #SecondaryColor: "#000000"
      #Style: "none"
      BaseFontSize: 17px
      WeatherApiKey: <redacted>
      ShowWeatherDescription: true
      UnitSystem: metric
      WeatherLatLong: 49.2, -123.0
      Language: en

Logs

Pre-Submission Checklist

  • This is a bug report and not a feature request

  • I have provided all of the required information to reproduce the bug (config, logs, etc.)

  • I have checked for related issues and checked the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions