You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, July 16th 2013, 10:32am

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

Umalo

Professional

Posts: 1,048

Location: Osijek, Croatia, EU

  • Send private message

2

Tuesday, July 16th 2013, 7:02pm

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

Wednesday, July 17th 2013, 3:13pm

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

Umalo

Professional

Posts: 1,048

Location: Osijek, Croatia, EU

  • Send private message

4

Wednesday, July 17th 2013, 3:46pm

share the link to xml file to compare and test.

5

Wednesday, July 17th 2013, 3:51pm

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

Thursday, July 18th 2013, 8:33am

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

7

Sunday, July 28th 2013, 10:26am

textTable plugin

Hi,

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