Announcement

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

#1 2010-08-19 06:32:29

sektor51
New member
Registered: 2010-03-23
Posts: 5

error in inserting pictures

Hi!

I have problem with inserting pictures. When I use File manager to insert image and then save page, the path of the picture is wrong. There is two http:// in the path. Like the right path is "http://domain.net/files/image.jpg", xinha paste "http:/http://domain.net/files/image.jpg" - yes, there is just one slash. Please, help me fix it. Thank you for any ideas!

Offline

#2 2010-08-19 09:41:19

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: error in inserting pictures

Check all paths in your configuration is correct, check _editor_url, and check the paths configured for the plugin.

I recommend using MootoolsFileManager if you can.


James Sleeman

Offline

#3 2010-08-20 08:15:19

VeeTee
New member
Registered: 2010-08-20
Posts: 1

Re: error in inserting pictures

It's some bug in xinha - it adds http:// in front of url of image in src by every switch wysiwyg <-> html

I found that setting

this.expandRelativeUrl = false;

in XinhaCore.js solves it.

Offline

#4 2010-08-20 14:22:53

sektor51
New member
Registered: 2010-03-23
Posts: 5

Re: error in inserting pictures

Thaks to both of you. The VeeTee idea works fine. thank you!

Offline

Board footer

Powered by FluxBB