Thumbnail icon when sharing


#1

So I’ve had a custom theme (like the older method, not done via admin settings) for a while, and although I believe I’ve replaced all of the NC logo icons for logo, apple-touch, etc, etc, etc, when I share a link to a file, it still - basically a year later (so no cache) - shows the NC logo:

You’ll have to take my word for it the SVGs have been replaced as I can’t preview them:

I’ve gone through the source looking for it, but haven’t been able to locate it.

Any ideas?

NC: 11.0.3


#2

I have just double checked (since I use the same “external” theme method) and for me it still works. My image file is:

/var/www/nextcloud/themes/[theme name]/core/img/favicon-fb.png


#3

Oh interesting! Do you have one for the other social networks too?


#4

This same file works for example with FaceBook, Skype and even here on this forum.

See the link below of a test file.

https://cloud.wijman.net/s/FizQVTMip3JktJr


#5

Hmm, doesn’t work for me at all as yet. We shall see if caches clear today…


#6

hello im facing the same issue and i did replace all files yet it didnt update when i do the sharing


#7

You have done the following:

  1. Create /var/www/nextcloud/themes/[theme name]/core/img/favicon-fb.png
  2. Clear cache with:
    a. APCu -> Restart Apache2
    b. Redis -> Run command redis-cli flushall

#8

strange in mobile its get the update but when i share in web and give the link in skype or whatever chat it doesnt!


#9

im not good in apache sorry :frowning: