RSS Feed/News 2.3.7 - icon upload with image optimization mime error

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
29,483
Points
823

Reputation:

2.3.7, with webp optimization enabled,
upload a png for the favicon/og images in style properties, it converts it to webp:
1761225785602.webp

The source code still presents it with a hard-coded mime type of png:

1761225862602.webp

Page_Container template:
Code:

Code:
    <xf:if is="property('publicFaviconUrl')">
        <link rel="icon" type="image/png" href="{{ base_url(property('publicFaviconUrl'), true) }}" sizes="32x32" />
    </xf:if>

should not have hard-coded type if the optimizer changes mime...

Read more

Continue reading...
 
Status
Not open for further replies.
Top