Page 1 of 1

Plugin: Image in Marker description not working

Posted: 07 May 2010, 17:43
by yuberlin
When placing an image in marker description, image code looks like this:

Code: Select all

<img width="" height="" 200="" 110="" images="" src="/" myFilename="" alt="">
I'm using JCE Editor. Is this a problem? I checked phocamaps.php and found:

Code: Select all

$text .= '<div>'. PhocaMapsHelper::strTrimAll(addslashes($markerV->description)).'</div>';
Is this causing the problem?

Re: Plugin: Image in Marker description not working

Posted: 07 May 2010, 17:56
by yuberlin
Found it:

Open plugins/content/phocamaps.php

In about line 368 remove "addslashes" like this

Code: Select all

$text .= '<div>'. PhocaMapsHelper::strTrimAll($markerV->description).'</div>';
:

Re: Plugin: Image in Marker description not working

Posted: 07 May 2010, 17:59
by Benno
Well done! :twisted:
Kind regards,
Benno