Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Image: Option Not working #94

Open
AngeloAna opened this issue Mar 26, 2024 · 2 comments
Open

App Image: Option Not working #94

AngeloAna opened this issue Mar 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@AngeloAna
Copy link

I am trying to use a PNG picture to show it the left App button. I downloaded one that is about 1K and put it in the www folder in a new subfolder called icons. I added the following image: YAML line and the picture does not show.

apps:
  - image: /local/icons/sling.png
    app: Sling

Does the image need to be a certain size?

@AngeloAna AngeloAna added the bug Something isn't working label Mar 26, 2024
@Fat-Knees
Copy link

So apparently "/local" directs to the "/homeassistant/www"

With that being said. you need to copy the path from "/www"
Replace "/www" with "/local"

I created an "images" folder inside the "roku-card" folder.

an example of my card YAML with a working image is as follows

type: custom:roku-card
entity: media_player.livingroom_roku
apps:
  - image: /local/community/roku-card/images/hulu1.jpg
    app: Hulu

@Fat-Knees
Copy link

you are also able to put in a web address.

type: custom:roku-card
entity: media_player.livingroom_roku
apps:
  - image: https://download.logo.wine/logo/Hulu/Hulu-Logo.wine.png
    app: Hulu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants