Xinha strips image path when dragged

Found a bug? Tell us!!
Post Reply
vincem
Regular
Posts: 59
Joined: Sat Mar 05, 2005 6:01 am
Contact:

Xinha strips image path when dragged

Post by vincem » Sun Mar 22, 2009 7:16 am

I'm having an issue with image paths within an entry which I assume is related to Xinha.

I don't use the media library for my entries and just link to images manually with the toolbar button. I've always been using this kind of path:

Code: Select all

"/serendipity/uploads/imagename.jpg"
without a problem.

As it is now, I can still add an image to an entry with the toolbar button, write my full path and save the entry. Everything stays fine. However if I grab the image in WTSIWYG mode and move it around in the entry body, the full path gets stripped and I am left with only

Code: Select all

"uploads/imagename.jpg"
which works on the startpage but not in archives.

A search among previous posts revealed this similar issue:
viewtopic.php?f=4&t=4702&start=0&hilit=xinha+image+path
but it was a long time ago, Xinha has probably changed, and I tried the following htaccess fix without any luck:

Code: Select all

RewriteRule ^archives/[0-9] -[0-9] /[0-9] /uploads/(.*) uploads/$1 [NC,L,QSA]
RewriteRule ^archives/[0-9] -[0-9] /[0-9] /images/(.*) images/$1 [NC,L,QSA]


Am I close?

Cheers,
Vince

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Xinha strips image path when dragged

Post by garvinhicking » Mon Mar 23, 2009 12:37 pm

Hi!

Are you using serendipity 1.4.1 with the internal Xinha editor? Or are you talking about the external Xinha plugin?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

vincem
Regular
Posts: 59
Joined: Sat Mar 05, 2005 6:01 am
Contact:

Re: Xinha strips image path when dragged

Post by vincem » Mon Mar 23, 2009 2:58 pm

Hi Garvin,

I'm using V1.4.1 with the new internal Xinha.

Regards,
Vince

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Xinha strips image path when dragged

Post by garvinhicking » Mon Mar 23, 2009 3:23 pm

Hi!

Yeah, it does the same for me, too. This is a bug in Xinha, we'll need to contact the Xinha developers on this. I'm a bit out of time right now, would you maybe want to ask for help on their forums, so that we might find a fix for it? I'm sure it's either a missing configuration directive or a bug in the version we are using (0.95) ...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Xinha strips image path when dragged

Post by garvinhicking » Mon Mar 23, 2009 3:29 pm

Hi!

Googling for a bit I found this:

http://xinha.webfactional.com/ticket/448

It says, that it's FF's fault, and that a config option is set to TRUE for it. The sourcecode also shows that it's set to TRUE - but it still fails. It might be that a recent Firefox built reintroduced trouble to this issue?! At least I can reproduce your trouble on my installation (latest FF3)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

vincem
Regular
Posts: 59
Joined: Sat Mar 05, 2005 6:01 am
Contact:

Re: Xinha strips image path when dragged

Post by vincem » Mon Mar 23, 2009 4:29 pm

Thanks for the info Garvin, I should at least be able to use IE for the time being. I'll give it a try tonight. And I will also post the question on the Xinha forum.

Cheers,
Vince

Post Reply