Gallery card - avoid tap action?

Hello,

I have this card :

      type: custom:gallery-card
      slideshow_timer: '10'
      entities:
        - sensor.photo_album
      menu_alignment: hidden

Is there a way to avoid people can tap on the picture (to enlarge it) ?

Question - can I disable the tap action · Issue #49 · TarheelGrad1998/gallery-card (github.com)

Super !

Stupid question : where is this file located ?

In config/www/community/gallery-card/…

Thanks !

Unfortunately, it doesn’t work :thinking:

Cleaned cache, even restarted HA and device…

Any errors in the log?

Seems to be something with the browser cache. If I start my HA in incognito more (chrome) then it works fine. You can try to clear the cache too

Cleared everything, but still possible to click…

image

But hey, maybe it will work itself out someday…

Did you try this in a private/incognito browser? then at least you know you coded well and are not looking at the wrong issue

Tried that too, but even there it doesn’t work.

I sent you the code, I don’t think I did a mistake there…

Then I guess your work was not complete… with me it works fine
So, I updated the js and removed the gz too…then you need to restart. I believe that if it finds the gz it will extract the js again from that one…

That was the problem !

Thank you !