mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1011] Web app and iOS PWA does not display image attachments with no file extension #708
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#708
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MisterSeagull on GitHub (Jan 26, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1011
🐞 Describe the bug
Attachment image links without a file extension are not treated as images and do not display within the notification in the web app.
Jellyfin does not append an image extension to it's /Images/Primary/ endpoint. When I use the endpoint to dynamically attach a thumbnail to my notification I'm left with an attachment with a file icon named Primary that opens the image in a new tab when I click on it.
💻 Components impacted
web app, iOS PWA
💡 Screenshots and/or logs

🔮 Additional context
I have tried adding the file header in an attempt to rename the image but that doesn't change anything and if I append a file extension to the URL the image breaks.
@MisterSeagull commented on GitHub (Oct 26, 2024):
The solution was to add the Filename property as shown below: