News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SSI images are not displaying

Started by tim967, December 07, 2010, 07:37:30 AM

Previous topic - Next topic

tim967

Hi there, trying to get the images from a topic i posted on my forum which then gets posted to another site with the 5 latest topics using the code
<?php ssi_boardNews($board=2.0,$limit=5,$start=null,$length=250,$output_method='echo');?>

but the problem is i added the BB code onto both posts to display different images (status of game servers) but they're only showing up on the forum not the site. any ideas how to get it to work on the site too?

Kindred

how are you posting the images?  as attachments or as img tags?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tim967

first post image part
[url=http://minecraft.abyssal-legion.com/serverstatus/index.php?action=view&id=1062][img]http://minecraft.abyssal-legion.com/serverstatus/statimg.php?id=1062[/img][/url]

second post image part

[url=http://www.gametracker.com/server_info/92.48.86.194:2304/][img]http://cache.www.gametracker.com/server_info/92.48.86.194:2304/b_560_95_1.png[/img][/url]

Kindred

from my testing, I was able to include the image (using img tags) in the SSI.


The first image works fine....

I see the problem...


[url=http://www.gametracker.com/server_info/92.48.86.194:2304/][img]http://cache.www.gametracker.com/server_info/92.48.86.194:2304/b_560_95_1.png[/img][/url]

gets re-parsed as

[url=http://www.gametracker.com/server_info/92.48.86.194:2304/][img]http://cache.[url=http://www.gametracker.com/server_info/92.48.86.194:2304/b_560_95_1.png]www.gametracker.com/server_info/92.48.86.194:2304/b_560_95_1.png[/url][/img][/url]

when you save the message....

its the url....   cache.www   the BBC assumes that the www forms the START of the url...   so it re-parses...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

tim967

nice one figuring it out but i dont really understand what I need to do to fix it? im a new with all this to be honest.

Kindred

easy fix?    don't use cache.www   find a URL that uses just www or just cache are the subdomain.

more complicated is going to have to go to the developers... (and I am not sure that it can be fixed in the short term)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: