wp-calypso
wp-calypso copied to clipboard
Subscribers can download "unnamed" images from email newsletter
Quick summary
- Subscribers can download images from emails
- User wants to prevent subscribers from downloading images attached to the email notifications of new posts.
- User is concerned about the image file names changing to "unnamed.jpg" when downloaded from the email.
- Toggled a setting related to showing featured images in emails. Suggested publishing another post to test if the issue persists but the user didn't add a featured image to this next post.
Steps to reproduce
- Create a new post
- Publish it.
- Subscribers get an email with the option to download the image:
- The image comes as unnamed instead of using the file's name.
<img width="640" alt="Screenshot 2024-01-29 at 1 15 21 PM" src="https://github.com/Automattic/wp-calypso/assets/72891246/f27f3704-4c97-4127-a105-0bf9446183
5a">
What you expected to happen
The file's title should be the same as the ones displayed on their media > library, but currently, it downloads as "unnamed."
What actually happened
The download button shows up on the right corner of the image, and when downloading it, the file comes as "unnamed" instead of the file's name.
From the user: These images are not for free download; they have a name and author that must be recognized.
Impact
One
Available workarounds?
No but the platform is still usable
Platform (Simple and/or Atomic)
Atomic
Logs or notes
- They are using Toujours theme
📌 REPRODUCTION RESULTS
- Tested on Simple – Replicated
📌 FINDINGS/SCREENSHOTS/VIDEO
https://github.com/Automattic/wp-calypso/assets/14153300/0eef9c1d-ff8a-46cf-9675-24a7453985a5
📌 ACTIONS
- Triaged
- Requested author feedback
📌 Message to Author @helenaartmann the fact that the image is downloadable is expected and not an issue - please set expectations with the user that images on a public site are always accessible and indexed by search engines, even if the post is locked for paying subscribers.
c @Automattic/zap
Thanks, @liviopv. I informed the user 7653782-zd-a8c
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 7653782-zen
From what I understand, the customer wants the download to fetch the image with the original filename (instead of "unnamed"), or to hide that button. I'm not too acquainted with HTML emails and how they are rendered in email clients, but it looks like that button is rendered by Gmail when the image is not linked (as in wrapped by an anchor) to anything and is considered an "attachment".
I've found an article about it: https://www.emailonacid.com/blog/article/email-development/prevent-gmail-from-displaying-image-download-button-in-email/. Apparently, it can be a big deal in terms of email marketing.