fun with images

Avatar

Avatar
Level 1
momills1
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
momills1
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile
momills1
Level 1

20-07-2008

I'm writing an IT knowledge base article for the company.
Everything working well so far, using a flex front end, and a
java/mysql backend with blazeds somewhere in the middle.



wanting to allow the users to insert images into the
articles, perhaps with a rich text editor. as far as i can tell the
RichTextEditor object doesn't allow images. Been googling this for
hours, not much help. I did find one commercial product, but I
don't think the company will pay for it.



I wanted to avoid using PHP, but it seems my best option
would be to have PHP controlling the uploads, and then maybe have
something rather ugly putting in HTML code for images into the text
fields, althogh I'm not sure that i can even get that to display
right...



any thoughts/suggestions greatly appreciated.



thanks.

Replies

Avatar

Avatar
Validate 1
Level 2
Karl_Sigiscar_1
Level 2

Likes

0 likes

Total Posts

36 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
Karl_Sigiscar_1
Level 2

Likes

0 likes

Total Posts

36 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Karl_Sigiscar_1
Level 2

24-07-2008



Use the <mx:TextArea> component with the htmlText
property.



It displays <img> tags.

Avatar

Avatar
Level 1
momills1
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
momills1
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile
momills1
Level 1

25-07-2008

yep that's done the trick... but the text is wrapping around
the images. any way to force the images onto their own line with no
text next to them (they're potentially screenshots, so they'll take
up most of the width of the textarea).



thanks!