Sie sind nicht angemeldet.

1

Dienstag, 16. Juli 2013, 10:32

Tag img into textfield plugin

I have try to include an img tah into a textfield as this code
[code]
<layer name="txtfld1"
url="%SWFPATH%/plugins/textfield.swf" keep="true" visible="true"
align="center" x="0" y="0" width="400" height="210"
children="false"
html="data:txt1"
/>

<data name="txt1">
<img src="http://www.delianet.it/valledaostacomuni/cogne/img.jpg" />
<p>
<b>Sample text bold</b> text no bold<br/>
</p>
</data>[/code]

The live example is at

[url='http://www.delianet.it/valledaostacomuni/cogne/360.html']http://www.delianet.it/valledaostacomuni/cogne/360.html[/url]

The img is

[url='http://www.delianet.it/valledaostacomuni/cogne/img.jpg']http://www.delianet.it/valledaostacomuni/cogne/img.jpg[/url]

and i have set the permission at 0777

but it is not show in the textfield
I think this is a stupid error .... but i don't see it

Please excuse my poor english
Thank you

2

Dienstag, 16. Juli 2013, 19:02

Have you tried your solution online or via server?
Took your code and adapt it to avoid errors on your actions but I think your code for image is correct. Try with local file first.

My test you can see: here
Code (your but fixed ): here

3

Mittwoch, 17. Juli 2013, 15:13

Thank you for your response: i have try your code but this not work; i have changed alsoa server and i put a very simple xml at

http://360.delianet.eu/AAA/360.html with http://360.delianet.eu/AAA/360.kml
but the image don't appear; i have also make an upgrade to the last version of krpano.swf

[code]<krpano onstart="loadscene(pano1_1,null,MERGE);">


<scene name="pano1_1">
<view hlookat="0" vlookat="0" fov="100" />
<preview url="360.tiles/preview.jpg" />
<image>
<cubestrip url="360.tiles/preview.jpg"/>
</image>
</scene>




<layer name="txtfld1" url="%SWFPATH%/plugins/textfield.swf" keep="true" visible="true" align="center" x="0" y="0" width="400" height="210" children="false" html="data:txt1"/>

<data name="txt1">
<p>
<img src="http://360.delianet.eu/AAA/logo-1.png" />
</p>
<p>
<b>SssXXXXample text bold</b> text no bold<br/>
</p>
</data>


</krpano>[/code]

I don't understrand because your sample work and my code no *confused*

Thank you

4

Mittwoch, 17. Juli 2013, 15:46

share the link to xml file to compare and test.

5

Mittwoch, 17. Juli 2013, 15:51

Hi,

please note - the Flashplayer textfield is very buggy when it comes to images!

Some html code combinations can result in not displaying the images.
E.g. in your case try moving the <img> outside the <p> tags.

Best regards,
Klaus

6

Donnerstag, 18. Juli 2013, 08:33

Thank you Klaus: i have edit the html and extract the image outside the p and all work

7

Sonntag, 28. Juli 2013, 10:26

textTable plugin

Hi,

Please see my textTable plugin if it meets your requirements.
regards
PRAMANJ