Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Facebook Link Post: No Preview Image

23 Nov 2014, 13:17

Great information!
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Facebook Link Post: No Preview Image

24 Nov 2014, 00:32

I am having a heck of a time getting FB to publish the correct information for a site level post. When I use the object debugger to fetch the latest data it is pulling in old data and an old tumb.jpg.

Does FB get this info from the cache? Is there a way to clear the X3 cache?
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Facebook Link Post: No Preview Image

24 Nov 2014, 03:23

alexhenes wrote:I am having a heck of a time getting FB to publish the correct information for a site level post. When I use the object debugger to fetch the latest data it is pulling in old data and an old tumb.jpg.

Does FB get this info from the cache? Is there a way to clear the X3 cache?
X3 cache is refreshed when you change anything in the page, including the preview image and/or page settings. Sounds to me like you are overwriting the thumb.jpg file, which creates a new issue altogether related to plain internet cache ... If facebook has loaded thumb.jpg from that folder earlier, and then after you change the file, it could easily still be using the cached thumb.jpg and this is not anything we control from imagevue. What is the link? I can easily prove that theory ...

Why are you using "thumb.jpg" anyway ... can't you just use the image setting and refer the image you want either from within the folder, or from another?
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Facebook Link Post: No Preview Image

24 Nov 2014, 10:20

yep... i over wrote thumb.jpg with my own image. Now I have deleted thumb.jpg and put my file mafw.jpg in the index folder. Now FB is fetching the first image in the slideshow that comes up when www.merelyafleshwound.com is opened in a browser.
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Facebook Link Post: No Preview Image

24 Nov 2014, 11:48

alexhenes wrote:yep... i over wrote thumb.jpg with my own image. Now I have deleted thumb.jpg and put my file mafw.jpg in the index folder. Now FB is fetching the first image in the slideshow that comes up when http://www.merelyafleshwound.com is opened in a browser.
As it should do ... Since you are using ASSETS on your start page, that is basically like saying "I want images from this asset folder to display and represent my start page". Therefore, since you have not defined the image setting on this page, it is logical that it would search one of the assets for preview image.

The logic here is pretty solid ... "thumb.jpg" is prioritized before images in assets because it is explicitly used for the preview image if it exists. It will not prioritize "mafw.jpg" in front of assets, why would it? Basically you are trying "hacks" to work around natural caching of the internet including Facebook, which would eventually resolve anyway ... Furthermore, instead of using "thumb.jpg" or even "maew.jpg", why not actually use the image setting?
Code
image: maew.jpg
The file "maew.jpg" will still automatically work for other pages that don't have images, assets, child folders and dont have the image setting applied.
 
User avatar
alexhenes
Experienced
Topic Author
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: Facebook Link Post: No Preview Image

24 Nov 2014, 12:38

ok...

that is why I over wrote thumb.jpg with my own image.

the logic is solid... I am just figuring it out.

I updated the image field on the index page and boom! everything is working.

thanks for your patience on this... much appreciated!
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
EHRETic
Experienced
Posts: 116
Joined: 02 Feb 2011, 16:26

Re: Facebook Link Post: No Preview Image

08 Jul 2015, 13:19

Hi there :-)

Sorry to put this topic back but since a few articles on my website, I've noticed that picture from link is not showing up anymore when I share the link on Facebook.

One sample : http://www.ehretic.com/blog/shootingfaustine/

I don't know if I did something wrong, but the Facebook debugger is not showing any picture either. But I've a message "The 'og:type' property is required, but not present."

I don't know what it means, maybe that is the key ! Thanks for helping :-)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Facebook Link Post: No Preview Image

08 Jul 2015, 16:13

EHRETic wrote:I don't know if I did something wrong, but the Facebook debugger is not showing any picture either. But I've a message "The 'og:type' property is required, but not present."
It's working fine:
Image
Image

Sometimes, you need to click the "Fetch new scrap information" button:
Image

The source code output by X3 is working, and it always was ... I added special attention to this when integrating it! Some things that could cause the issues you are experiencing:

1. Facebook simply works in its own ways, often caching old results. This is not anything we can fix in X3 ... We just make sure the original source code is correct, and it is.

2. I noticed your website is quite slow, at least when its creating a new/updated page. It could be that facebook initially doesnt wait for the page to load if it takes to long to load, thus serving a premature result until it refreshes its cached result.