• Home
  • Get help
  • Ask a question
Last post 8 hours 18 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67837
All time tickets 10483
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#2569 – FB share button and images

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 04 August 2016 08:14 UTC
one
 Hello!

When I try share article in FB by sharing button, this function get images only from article body, not images which is inserted to article through Images and Link tab. Why is this happening?
Thursday, 04 August 2016 10:57 UTC
wb_weeblr
Hi

Because we try to autodetect images in the content of the article, not in the full page.
If the auto-detection does not give a good result, you can set a specific image in the URL manager, as described in the documentation.

Lastly, you can try the latest dev version, available from the development versions download area, where the auto-detection has been improved and can include the full page. However, as there are possibly more images found in the page, this might not always get the perfect result, so be sure to check (using the Facebook debugger)and manually correct the autodetection as explained above if needed.

Rgds
 
Thursday, 04 August 2016 11:19 UTC
one
Clear! Thank you!
Thursday, 04 August 2016 11:20 UTC
wb_weeblr
Hi again

Glad to hear that. I will leave this ticket open in case you need to add something. It will automatically close in 2 weeks, if not further comment is made.

Best regards
 
Thursday, 04 August 2016 11:33 UTC
one
Ok, I will test dev version and let you know.
Thursday, 04 August 2016 11:34 UTC
wb_weeblr

Thanks and regards

 
Monday, 08 August 2016 19:54 UTC
one
You know, I have tested and see what on some pages og:image tag present in the page HTML code on some no. On some pages og:image point to the first image in article on some pages to the 3rd or bigger. Also the og:description on some pages present in HTML code, on some pages no.
Tuesday, 09 August 2016 07:07 UTC
wb_weeblr
Hi

And that may absolutely be normal, depending on many factors. Please present facts: a list of URLs with detailed information: which page should have which information, which one is missing, what type of content is it (com_content? K2? Virtuemart?...)
And also of course, be sure OG tags are generated by sh404SEF. Is OGP enabled in sh404SEF? some extensions actually generate OG tags themselves for instance.

Rgds
 
Tuesday, 09 August 2016 09:35 UTC
one
Yes, OPG is enabled. Type of content is com_content

You can check next URLs.

Here missing og:image and og:description:
http://www.xxxx.lv/novosti/rio-boks-denj-2.html
http://www.xxxx.lv/en/news/rip-sinan-samil-sam-1974-2015.html

Here missing og:description:
http://www.xxxx.lv/novosti/njju-jorkskij-triumf-frjemptona.html
http://www.xxxx.lv/nashi-shou/bitva-velikanov.html

Here missing og:description and og:image mark not first image on display:
http://www.xxxx.lv/novosti/boksery-favority-olimpijskogo-turnira-v-rio.html
http://www.xxxx.lv/en/news/boxing-top-prospects-of-rio-2016.html

Here all is fine:
http://www.xxxx.lv/bojcy/oleg-fedotov.html
http://www.xxxx.lv/bojcy/vagram-vardanjan.html


og:description tag as I see not important. Sharing plugin any way get content from article but og:image tag on first image in article for me is important.
Tuesday, 09 August 2016 10:33 UTC
wb_weeblr
Hi

Here are my findings so far:

1 - Missing og:description

That's easy: you don't have any description for all those pages, so we cannot create an OG:description tag. Add descriptions to your content, and the OG tag will appear.

2 - Missing og:image tags.

That's the strange one. As I couldn't find anything wrong, I downloaded the latest akeeba backup you did, and restored it on my machine. When I displayed those pages, they all have images and and og:image tag.

I will keep looking, but I want first to hear from you on question #3

3 -
Here missing og:description and og:image mark not first image on display:

http://www.xxxx.lv/novosti/boksery-favority-olimpijskogo-turnira-v-rio.html

http://www.xxxx.lv/en/news/boxing-top-prospects-of-rio-2016.html
That's an interesting one. Here is the source code:
[xxxx]
This og:image is NOT added by sh404SEF. The og:tags added by sh404SEF are down below the page, grouped altogether. Do you have another extension adding og tags? did you add them manually in your template or elsewhere?

Rgds
 
Tuesday, 09 August 2016 10:43 UTC
wb_weeblr
Hi

A bit more details, sorry about not thinking about it immediately:

og:image mark not first image on display:
That's normal actually. sh404SEF is right and it selects the first valid image. The problem with your other images is that they are too small. Facebook requires that images are 200px x 200px minimum. So we check possible images size, and we do not use the ones that are too small.

On this page for instance, /novosti/boksery-favority-olimpijskogo-turnira-v-rio.html, the first image large enough is http://www.local.web/sandbox/t2569/images/rio_2016/yeleussinov.jpg, it is 225 x 225. The others before it all are below 200 x 200

Rgds
 
Tuesday, 09 August 2016 10:56 UTC
wb_weeblr
Hi

OK, I understand it now, for the missing images. The problem appears because you are using a lightbox to display some images.

If we look at http://www.xxxx.lv/novosti/rio-boks-denj-2.html, then the image on the right side is actually only a thumbnail: http://www.xxxx.lv/images/rio_2016/stanionis.jpg

It cannot be used, because it's only 275 x 183 pixels (below the required 200 x 200 px).

You also have a link to the full image, but it's a link, not an image, and so we cannot recognize it:

[xxxx]

I see 3 options:

- in such cases, you manually enter the image in sh404SEF for this page
- you don't use a lightbox
- you use a larger thumbnail, big enough for Facebook to use

Rgsd

 
Tuesday, 09 August 2016 11:10 UTC
one
Regarding some interesting in sorce code on the first screen shot. I have use this plugin http://extensions.joomla.org/extensions/extension/photos-a-images/images/mavik-thumbnails and it have option to insert og:image tag too. I have played with it.

Ok, as I see, quick variants to insert automatically OPG tag for first image use larges thumbnail. Minimum 200x200px. It is right?
Tuesday, 09 August 2016 12:34 UTC
wb_weeblr

Yes, 200x200 is the minimum image size that facebook will accept. You should consider also whether you actually want to use a lightbox. As your main images are not that large, maybe it's better to just include them in the content, at least on the pages with only image.
On the pages with multiple small images, then having thumbnails is the only option for automatic processing. Still, in this case I would suggest that you manually add an image in the sh404SEF URL manager, for this URL. THe sharing on Facebook and twitter will be much better.

Rgds
 
Tuesday, 09 August 2016 13:02 UTC
one
Clear! Thank you for your time!
Tuesday, 09 August 2016 13:08 UTC
wb_weeblr
Hi

No problem. Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.

Be sure to also check out wbAMP, our new Accelerated Mobiles pages plugin for Joomla - the next big thing is SEO, direct from Google themselves!

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.