You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system (if you're unsure: cat /etc/os-release ): any
Database + version: any
Elasticsearch version: any
Browser + version: any
Actual behaviour
Avatars for users are hard coded to jpeg-images - but images.zammad.com does -currently- not convert images from e.g. png to jpeg. Plus, Gravatar delivers png images in all scenarious I've tested, even if you provide the .jpg extension.
This may potentially break Avatars if browsers stop qualifying the mime type themselves and listen to the application (I did not verify if the actual image that is stored in Zammad is not corrected) and thus may require migrations to overcome this issue.
Expected behaviour
Zammad qualifies what mime type it receives from images (and/or) images starts to deliver exactly what's expected.
Steps to reproduce the behaviour
fetch avatars for users and check what you actually get
double tab by talking to images directly
Support Ticket
No response
I'm sure this is a bug and no feature request or a general question.
yes
The text was updated successfully, but these errors were encountered:
Used Zammad Version
6.x (it really doesn't matter)
Environment
cat /etc/os-release
): anyActual behaviour
Avatars for users are hard coded to jpeg-images - but
images.zammad.com
does -currently- not convert images from e.g. png to jpeg. Plus, Gravatar delivers png images in all scenarious I've tested, even if you provide the.jpg
extension.https://github.com/zammad/zammad/blob/develop/lib/service/image/zammad.rb#L38-L41
Same applies for hardcoded png with organizations where
images
would accept jpg,png,gif,svg.https://github.com/zammad/zammad/blob/develop/lib/service/image/zammad.rb#L74-L77
This may potentially break Avatars if browsers stop qualifying the mime type themselves and listen to the application (I did not verify if the actual image that is stored in Zammad is not corrected) and thus may require migrations to overcome this issue.
Expected behaviour
Zammad qualifies what mime type it receives from
images
(and/or)images
starts to deliver exactly what's expected.Steps to reproduce the behaviour
Support Ticket
No response
I'm sure this is a bug and no feature request or a general question.
yes
The text was updated successfully, but these errors were encountered: