RSS Feed/News link rel="apple-touch-icon" inserted when it shouldn't be

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
23,543
Points
823

Reputation:

If you upload the open graph image via the admin panel but intentionally don't upload the "icon" or "large icon" images (these should be named more accurately btw), XenForo automatically uses your og image as apple-touch-icon. Here's the output I'm seeing:

Code:

<link rel="apple-touch-icon" href="/img/og.webp" />

This is unwanted behavior because the open graph image specs (and purpose) are totally different from Apple or Android icons. Og uses the 1.91:1 ratio while the...

Read more

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