The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
head_tags - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.4 (https://userspice.com/forums/forumdisplay.php?fid=27)
+--- Thread: head_tags (/showthread.php?tid=1497)



head_tags - LBC - 05-17-2019

Hi,

I'm having difficulty with showing my company logo in a shared link (Whatsapp).
I have filled in the head_tag in usersc/includes and also put a link to my logo in there.
But when I share the link everything shows up but the logo. Any idea what is going wrong there?


RE: head_tags - LBC - 05-19-2019

Anyone any ideas?


RE: head_tags - mudmin - 05-19-2019

I know once that stuff gets cached on whatsapp/fb side, it's sometimes hard to get out. Is there anything you can clear over there?


RE: head_tags - LBC - 05-19-2019

I cleared the WhatsApp cache...its still not displaying the picture.

Can it be the way I linked to it? I used the URL (https://www.sitename.com/picturename).


RE: head_tags - mudmin - 05-20-2019

This post
https://stackoverflow.com/questions/19778620/provide-an-image-for-whatsapp-link-sharing

Says to do
2019 standards
It takes a few steps to get the perfect preview for WhatsApp, Twitter, Facebook and bookmark icons for pc's and mobile devices. If you like reading go to ogp.me - but make sure to read steps 1 - 6 in this answer to get the best WhatsApp preview.

Step 1: title

Maximum of 65 characters

<title>your keyword rich title of the website and/or webpage</title>
Step 2: description

Maximum of 155 characters

<meta name="description" content="description of your website/webpage, make sure you use keywords!">
Step 3: og:title

Maximum 35 characters

<meta property="og:title" content="short title of your website/webpage" />
Step 4: og:url

Full link to your webpage address

<meta property="og:url" content="https://www.example.com/webpage/" />
Step 5: og:description

Maximum 65 characters

<meta property="og:description" content="description of your website/webpage">
Step 6: og:image

Image(JPG or PNG) of size less than 300KB and minimum dimension of 300 x 200 pixel is advised

<meta property="og:image" content="//cdn.example.com/uploads/images/webpage_300x200.png">


RE: head_tags - LBC - 05-20-2019

Hah! So it all hinged on the image being less than 300KB?
Wow, thanks for that info Mudmin. It worked Smile

Perhaps you should add that bit of info in the head_tags.php on the next update.