I want to show a image instead of preview text (section below the email subject) when the email reaches to the inbox. Please suggest some valuable solutions to accomplish this.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @sphawde ,
You can replace the preview text with your image source.
It should work this way.
Refer to this code:-
<!-- Visually Hidden Preheader Text: BEGIN -->
<div aria-hidden="true" style="text-align:center;OVERFLOW: hidden; MAX-HEIGHT: 0px; mso-hide: all;">
<br><img src="yourimage.png"
style="width: 300px;" data-status="true" </div>
<!-- Visually Hidden Preheader Text: END -->
Views
Replies
Total Likes
Hi @sphawde ,
You can replace the preview text with your image source.
It should work this way.
Refer to this code:-
<!-- Visually Hidden Preheader Text: BEGIN -->
<div aria-hidden="true" style="text-align:center;OVERFLOW: hidden; MAX-HEIGHT: 0px; mso-hide: all;">
<br><img src="yourimage.png"
style="width: 300px;" data-status="true" </div>
<!-- Visually Hidden Preheader Text: END -->
Views
Replies
Total Likes
Hello @sphawde,
I am not aware that image can be used in preheader for email. The definition of preheader is:
An email preheader is the short summary text that appears next to or below the subject line of an email in most email clients. It provides additional context and information about the email content and helps the recipient decide whether to open the email or not.
Since the preheader text is typically displayed in plain text format, it's not possible to include images in the preheader. However, you can use HTML tags such as bold, italic, and links to format and enhance the preheader text.
And for that you can use the bullet proof preheader from litmus article
https://www.litmus.com/blog/the-little-known-preview-text-hack-you-may-want-to-use-in-every-email/
<div style="display: none; max-height: 0px; overflow: hidden;">
Insert hidden preheader text here.
</div>
<!-- Insert ͏‌ hack after hidden preview text -->
<div style="display: none; max-height: 0px; overflow: hidden;">
͏ ‌    ͏ ‌    ͏ ‌    ͏ ‌    ͏ ‌    ͏ ‌    ͏ ‌    ͏ ‌   
</div>
Marcel
Hi @sphawde,
Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.
Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies