We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Bug with broken preview image of a link in chat | Forum

Kali
Kali May 9 '15
Hello,

I notice that when you post a link in the chat, sometimes the image is broken. For example if I post this link http://www.16-types.fr/types/ENFP/enfp.html, the link of the image I get (which goes to a 404) is http://www.16-types.fr/types/images/presentation/rond.jpg, when if I go on the source code of the website I see it is ../../images/presentation/rond.jpg which redirects to http://www.16-types.fr/images/presentation/rond.jpg.

So I guess it's the double ../../ that creates the problem, as apparently oxwall is going one folder up instead of 2 as specified. Any way to fix this issue?
ross Team
ross May 11 '15
If you copy the same link: http://www.16-types.fr/types/images/presentation/rond.jpg and try to open it in the browser you'll see the 404 not found, something is wrong on their side
Kali
Kali May 13 '15
Well the image has no problem on their website, it's the first green round button you see if you open the page, and the address that I get if I click in the source code redirects to http://www.16-types.fr/images/presentation/rond.jpg with no 404, so the problem doesn't come from them, but from the manner oxwall is interpreting the first image url it finds in the source code I think...
ross Team
ross May 13 '15
I'm sorry but our parsing system does not handle redirects, you will need to use straight URL without any redirects to get the image right. 

For example if you insert the link of this topic http://www.oxwall.org/forum/topic/36450 to chat, you'll see image of you avatar, because there's no redirect. 

Besides, the image which our parsing system uses has this link: http://www.16-types.fr/types/images/presentation/rond.jpg which leads to 404 not found