Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-03-12 07:30:28

gins06
New member
Registered: 2006-03-12
Posts: 2

problem Image display

Hello

I'm developing a blog with Xinha editor, and I have a problem displaying images with ImageManager.
When I add an image, it generates an HTML file with the following code:

<img width=\"200\" height=\"150\" src=\"Xinha/plugins/ImageManager/demo_images/wesnoth078.jpg\" alt=\"wesnoth078.jpg\" />

With this code the image isn't displayed (I only have the picture's name), and if I remove all the backslashes (\) it works !!!
Is there a way to generate that code without the backslashes or any other solution to display my picture?

Thank you.

Offline

#2 2006-03-20 11:27:19

gins06
New member
Registered: 2006-03-12
Posts: 2

Re: problem Image display

Does nobody has any solution ?

Offline

#3 2006-03-20 11:50:08

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: problem Image display

When do the backslashes occur? Already in the editor or when submit the Form? If the latter andyou're using php, this would be the magic quotes engine of php. Then you would have to do something like

$html = (get_magic_quotes_gpc()) ? stripslashes($html) :$html;

If otherwise it already happens in the editor, I don't know either sad

Offline

Board footer

Powered by FluxBB