Tinymce broken thumbnails

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
marties
Forum Members
Forum Members
Posts: 34
Joined: Tue Jan 11, 2005 11:22 am

Tinymce broken thumbnails

Post by marties »

Hello,

i use cms 1.9.2 and TinyMCE 2.8.2, in the filepicker all thumbnails are broken
i found a solution but want your advice, is it ok or is there another thing to do ? And if i can share it's with pleasure :-)

the frame source of the filepicker show me the wrong path

Code: Select all

http://xxx/uploads/images/promenade[b]//[/b]thumb_07.jpg'
another example

Code: Select all

http://xxx/uploads/images[b]//[/b]thumb_eloges-poesie.jpg
so it is an extra slash just before the imagepath or imageurl

i edited TinyMCE.module.php and at lines 321 and 322 i removed the slash just before thumb_ and it works like a charm

Code: Select all

    $imagepath = $this->Slashes($path . "[b]/[/b]thumb_" . $file);
    $imageurl = $this->Slashes($url . "[b]/[/b]thumb_" . $file);
Post Reply

Return to “Modules/Add-Ons”