Skip to content

Rich Link Preview Extension #4264

@newhinton

Description

@newhinton

Hello,

ive tried to use my own logo in whatsapp-messages (and similar applications) which proved to be quite hard. I use my own theme with custom logos which i enabled in the config of my NC 11 instance.

Whatsapp uses the favicon-fb.png to preview the Nextcloud, but my own favicon-fb.png was ignored and replaced by the "normal" favicon.

By inserting

<meta property="og:description" content="*CloudName** - **CloudSlogan" />
<meta property="og:image" content="/themes/******/core/img/favicon-fb.png" />

(actually, i didnt know how to do it properly, so i hardcoded the descriptionname)

under the <title></title> element in following files:

nextcloud/core/templates
--layout.guest.php
--layout.base.php
--layout.user.php

i could get it working on all testet Messengers (Whatsapp, Telegram and richpreview.com)

Steps to reproduce

  1. Create own Theme
  2. Send Shared Link over Whatsapp(or similar app)
    (Optional: I used https://richpreview.com/ to verify the logo)

Expected behaviour

The default favicon-fb.png shoud be dropped in favor of the new themes one

Actual behaviour

The logo is replaced by the "normal" favicon.

Server configuration

Ubuntu 16.04
Apache 2.4.18
MySQL 5.7.17
PHP 7.0.15
Nextcloud 11.02

No external Storage
No Encryption
No LDAP

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofenhancementfeature: theminggood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions