Eightkill wrote:Indeed, I renamed all my files with only low cases and dashes, and it's working perfectly.
Will look into this, but will have to be next main release, as it requires fixes to the core X3 javascript. You shouldn't have to rename files to get it working correctly.
Eightkill wrote:Nevertheless, a bug seems to persist :
- When I share a landscape picture on facebook for example, it's working flawlessly with a preview image
- But when I share a portrait one, there is no preview picture in the shared link ?? (I have tested with several portraits and landscapes and it's always the same)
This is Facebook, not X3, and it's just a coincidence that your tests showed landscapes working but not portraits. Portraits work fine also:
The problem is that Facebook doesn't load the image for the "first" request. I don't know why Facebook works shitty like this, but I assume they are greedy about speed, and want to display the link ASAP to visitor, without waiting for their bots to visit the shared link to extract the image. You will find that if you share a link AGAIN, that you previously tried to share earlier, second time it will have the image loaded, because Facebook have sent their bots over to grab the preview image.
You can also use Facebook debugger, input the link to be shared, and click "scrape again":
https://developers.facebook.com/tools/debug/
Point is, if I try to share an URL that is not already cached on Facebook, it will look like this:
But hey, let's try to share that same link a minute later:
Works fine ...
You can use the FAcebook debugger to force-refresh a shared page:
https://developers.facebook.com/tools/debug/