Search…

X3 Photo Gallery Support Forums

Search…
 
Eyad
Topic Author
Posts: 10
Joined: 09 May 2009, 02:11

Text page editing, evrything gets lost

09 May 2009, 05:17

Hi,

Everytime I try to edit the testpage example (description, title, body...etc) from the admin panel, the result comes out as one single page with the word "text page" inside.

So everytime I upload the example one back...I have set the authorization on the content (and the text page folder) to 777 but still any small edit ruins everything.

Sounds familiar with anyone? thanks for your help.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

10 May 2009, 01:43

Can't say I have heard of this before. Perhaps you can provide a link to your galelry, and even better also provide log in to your admin?
 
Eyad
Topic Author
Posts: 10
Joined: 09 May 2009, 02:11

10 May 2009, 09:50

Actually the text is fine now... It's the pic that doesn't get displayed although the picture file is in the same folder.

I inserted it using "insert picture from this folder" button.

Any idea why?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

11 May 2009, 02:49

hmm, not without seeing it for myself. Try to insert the image again, and then click the <html> button to view the HTML source code. Then paste me the code you have so I can take a look at it ...
 
Eyad
Topic Author
Posts: 10
Joined: 09 May 2009, 02:11

11 May 2009, 04:09

I've sent it as PM.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

12 May 2009, 00:23

This is your code - It looks to me like you have taken an existing textpage with image, and inserted some text. Unfortunately, the text is inserting itself into some undired places int he code within the <textformat> setting which is used for the image. Also, are you sure there is not supposed to be "quotes" around the height and width values?
Code
<br><br><TEXTFORMAT leading="100">This is a<br><br><br><img alt="" src="*yourlink*/content/textpage/pic4.jpg" width=492 height=100><br><br><br>Test page<br><br></TEXTFORMAT>
Try pasting this code instead:
Code
This is a<TEXTFORMAT leading="100"><img alt="" src="*yourlink*/content/textpage/pic4.jpg" width="492" height="100" /></TEXTFORMAT>Test page
The <textformat> is a workaround to force the image to be a specific height. You should not have text within the textformat block. Unfortunately, the editor can't intercept all this for you, as we needed to tweak the editor a bit to make it work well with flash text.
 
Eyad
Topic Author
Posts: 10
Joined: 09 May 2009, 02:11

12 May 2009, 02:27

Thanks Karl that helps.

I think the main 2 things were:

1- Each time the textpage is edited, the hight and width code of the picture tends to lose the "" when saving, so I have to re-enter those notations at each edit.
2- The text should be outside <textformat>, which means I need to do some coding rather than fully relying on the UI to fix the look of the page.

Still there are small glitches when the picture is fully on top and the text is below it, I tend to lose couple of letters in the beginning of the sentance.

I'll try and see how to work this out.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

12 May 2009, 13:13

I will admit the text editor is not flawless. We had to do a lot of tweaking to get it to create flash-compatible html code. On top of it all, embedding images in flash textfields is a little quirky. As you can see, it doesn't work without the width and height attributes(it works in normal browsers!). Also, it has problems laying out text after an image, thats why we used the <textformat> "workaround".

As for "loosing a couple of letters" after an image, I have also seen this. It happens because flash thinks there is room for some text on the right side of the image. Are you using <textformat> btw to avoid this? Wrap your image in <textformat leading="100"> ...image ...</textformat> and set the leading value to the same height as your image. Also, add a <br> after the </textformat> and your text should start below the image.

Thanks for the feedback - I hope we can improve the editor. If you are somewhat familiar with HTML, best tip for now is to keep a tight leesh on the html code that is generated. Just check it with the [html] button when you edit.
 
User avatar
GeoPal
Experienced
Posts: 227
Joined: 20 Dec 2007, 12:56

02 Jan 2010, 04:26

mjau-mjau wrote:I will admit the text editor is not flawless. We had to do a lot of tweaking to get it to create flash-compatible html code. On top of it all, embedding images in flash textfields is a little quirky. As you can see, it doesn't work without the width and height attributes(it works in normal browsers!). Also, it has problems laying out text after an image, thats why we used the <textformat> "workaround".

As for "loosing a couple of letters" after an image, I have also seen this. It happens because flash thinks there is room for some text on the right side of the image. Are you using <textformat> btw to avoid this? Wrap your image in <textformat leading="100"> ...image ...</textformat> and set the leading value to the same height as your image. Also, add a <br> after the </textformat> and your text should start below the image.
First Happy New Year to imagevue team, all the best!
I also had problems with text under/above image in a textpage- either not appearing or partly appearing. After reading this page i added textaformat strings and now it works, though it could be better. As this topic is from previous year, wanted to ask if something has changed to make things easier and without special tweaking /special for me at least as I am not a coder/? Some changes in the way flash handles textpages/html or imagevue code? Thanks ones again for the great gallery!
Best regards, G
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

05 Jan 2010, 04:45

Unfortunately nothing has changed in this department recently, and dont expect flash textfields to advance in the near future. Flash textfields simply were created for text-formatting, and not for layouts, so it just dont work very well.
 
er1ck
Posts: 16
Joined: 12 Mar 2010, 02:41

12 Mar 2010, 03:07

mjau-mjau wrote: ....As for "loosing a couple of letters" after an image, I have also seen this. It happens because flash thinks there is room for some text on the right side of the image. Are you using <textformat> btw to avoid this? Wrap your image in <textformat leading="100"> ...image ...</textformat> and set the leading value to the same height as your image. Also, add a <br> after the </textformat> and your text should start below the image.

Thanks for the feedback - I hope we can improve the editor. If you are somewhat familiar with HTML, best tip for now is to keep a tight leesh on the html code that is generated. Just check it with the [html] button when you edit.
Its not working for me :( The only thing what helps is to add lots of characters in front of the text which are not displayed in flash, but look very odd in the html version.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

16 Mar 2010, 05:26