I was having problems with using tinyMCE and IMCE and Teaser Thumbnail. Thumbnails would not be generated for images with a space in the file name or folder. After searching through the code, I found that it wasn't recognizing that the relative file existed (file_exists())
I added:
$relative_path = rawurldecode($relative_path); to link 383 of the current version.
It then recognized the file.

I hope this helps anyone trying to get this to work.

Comments

caskraker’s picture

I'm having the same problems with this config: TinyMCE, IMCE and TT.
Tried to apply your "patch" in teaserthumbnail.module after line 383 but the problem with a filename with a space remains.
Any suggestions? I can't sell this to my customers, having to upload images without spaces in the name.

Thanx,
Cas

hexen’s picture

also with other characters would be perfect, for ex. ( ), and utf8 like Ł, Ń, etc. (polish characters)