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

E-Mail image sizing wrong in Outlook #32790

Closed
4 tasks done
danir-de opened this issue Jun 9, 2022 · 8 comments
Closed
4 tasks done

E-Mail image sizing wrong in Outlook #32790

danir-de opened this issue Jun 9, 2022 · 8 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback bug feature: emails

Comments

@danir-de
Copy link

danir-de commented Jun 9, 2022

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

Images like the logo are not displayed in the correct size when using the Outlook Desktop (all versions from 2013 to the latest 2021 are affected).

This results in you having to downscale the logo-image of your instance, in order for it not to fill the whole screen when opening mails. You can't upload a image to small, since it would look pixelated on some places in the GUI otherwise, so the logo is always too big in any email.

I suppose that many organizations are affected by this, since Outlook is a widespread virus.

Steps to reproduce

  1. Upload a high resolution logo.
  2. Trigger anything that sends an email.
  3. Open the email with any Outlook client.
  4. Look at the unresponsive monstrosity of a logo:
    image

Expected behavior

I would expect it to look sleek and elegant exactly on any other modern mail client or webmail client:
image

Installation method

Manual installation

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

Nginx

Database engine version

MariaDB

@danir-de danir-de added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jun 9, 2022
@AndyXheli
Copy link

Same issue.

@szaimen

This comment was marked as resolved.

@AndyXheli
Copy link

Same issue on NC 25.0.3

@0rb1ta
Copy link

0rb1ta commented Jan 26, 2023

@szaimen , I confirm, I have the same problem, Outlook ignores styles like min-width:;max-height:; padding:;border-radius:; max-height:;max-width

<table class="row collapse" style="border-collapse:collapse;border-spacing:0;display:table;padding:0;position:relative;text-align:left;vertical-align:top;width:100%">
<tbody>
<tr style="padding:0;text-align:left;vertical-align:top">
<center data-parsed="" style="background-color:#0082c9;min-width:175px;max-height:175px; padding:35px 0px;border-radius:200px">
<img class="logo float-center" src="https://blablabla.com/apps/theming/image/logo?useSvg=0,&,v=35" alt="BLABLABLA" align="center" style="-ms-interpolation-mode:bicubic;clear:both;display:block;float:none;margin:0 auto;outline:0;text-align:center;text-decoration:none;max-height:105px;max-width:105px;width:auto;height:auto">
</center>
</tr>
</tbody>
</table>

@DeadPo01
Copy link

DeadPo01 commented Mar 16, 2023

NextCloud 25.0.4 (on TrueNas 13.0.U4)
Outlook 2016 can't even view logo image....
And browser not opening logo, but offers to download it, because logo goes without extension.
The link in the message looks like:
src="https://domain_name/index.php/apps/theming/image/logo?useSvg=0&amp;v=10"

Image in outlook looks like:

error

@0rb1ta
Copy link

0rb1ta commented Mar 19, 2023

NextCloud 25.0.4 (on TrueNas 13.0.U4) Outlook 2016 can't even view logo image.... And browser not opening logo, but offers to download it, because logo goes without extension. The link in the message looks like: src="https://domain_name/index.php/apps/theming/image/logo?useSvg=0&amp;v=10"

Image in outlook looks like:

error

it seems to me that you changed the logo, and opened the old letter, which had the logo before it was changed. Send yourself a test email from NC, I think you will have your new logo in it

@DeadPo01
Copy link

DeadPo01 commented Apr 13, 2023

No. I changed the logo and tested email AFTER that. Tested again now (logo changed about a month ago) and.... no logo in the message.
If I insert links from message image into a browser, it offers me to download file "logo" without extension. After download if add an .svg extension to this file - image will open.

@joshtrichards joshtrichards changed the title [Bug]: E-Mail template broken in Outlook E-Mail image sizing wrong in Outlook Aug 28, 2023
@joshtrichards
Copy link
Member

Fixed in #46419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback bug feature: emails
Projects
None yet
Development

No branches or pull requests

6 participants