4 posts / 0 new
Last post
Adding image into Story panel

Hi,

Been trying to add an image into the story panel. Using the following HTML code:

s=[<html>
<head>
<title>Photo</title>
</head>
<body>
<img src='/sites/default/files/imagecache/218x158sc/images/gesirs_0.jpg'
alt='Not displayed'
height='25'
width='15' >
</body>
</html>]

I also tried inserting double quotes instead of single quotes, but it still doesn't work. Any pointers on this will be greatly helpful.

StatSilk's picture

Hi,
It works fine when testing at this end. You could try formatting it as follows:

s=[<html><head><title>Photo</title></head><body><img src='/sites/default/files/imagecache/218x158sc/images/gesirs_0.jpg' alt='Not displayed' height='25' width='15'></body></html>]

(i.e. remove the line breaks, just put spaces)

You may also need to specify the story panel width and height (see http://www.statsilk.com/files/resources/User_Guide_StatPlanet.htm#_Toc37...).

Best,

Frank

Thanks Frank. But it still doesnt work. Only the title is displayed. I increased the size of the story panel as well, but the photo is not showing up.

StatSilk's picture

<resolving via e-mail>

USER LOGIN