1

Topic: Missing file: /tiny_mce/plugins/imagemanager/pages/im/img/bg.gif

Received an error message in the logs and confirmed the file is indeed missing in this path, if the path is correct.  Complete error message when attempting to edit a photo from the context menu in Imagemanager:

File does not exist: /document_root/js/tiny_mce/plugins/imagemanager/pages/im/img/bg.gif, referer: https://ww
w.example.com/js/tiny_mce/plugins/imagemanager/css/index.php?type=im&theme=im&package=edit_css

Not certain what image it is looking for but the only "bg" file I can find is in
/tiny_mce/plugins/imagemanager/pages/im/img/imageeditor/bg.png

2

Re: Missing file: /tiny_mce/plugins/imagemanager/pages/im/img/bg.gif

I just updated to the recent MCImageManager and found a 404 in my logs pointing to this exact same file.  I Googled quick to see if I could locate something and the very first response was to this forum post!  Made me laugh out loud.  I'll see if I can locate where this call is coming from in the packaged code.  Is there an image missing or is there a misspelling in the image link?

3

Re: Missing file: /tiny_mce/plugins/imagemanager/pages/im/img/bg.gif

I see the problem, but I do not know which image is the proper solution?  Details:

To see this error you attempt to edit an image from the ImageManager thumbnail view.  Choose "Edit" from the context menu.  The url initiated in the call is:
https://example.com/path/to/tiny_mce/pl … /edit.html

I have discovered the reference here in
tiny_mce/plugins/imagemanager/pages/im/css/imageeditor.css

body    { background:#fff url('../img/[color=#FF0000]bg.gif[/color]'); ... 

The directory being referred to here would be
tiny_mce/plugins/imagemanager/pages/im/img/
but there is no image in that directory with the name bg.gif.  No bg.* anything.  I'm guessing bg stands for background.  The only reference I can find in the sibling directories is
tiny_mce/plugins/imagemanager/pages/im/img/imageeditor/bg.png

Of course, replacing the link in the css corrects the 404 error but I am uncertain as to the validity of using that file as a proper replacement for the intended purpose.

Any insight?

4

Re: Missing file: /tiny_mce/plugins/imagemanager/pages/im/img/bg.gif

Yes, we slipped up on this one. The bg.gif call should be removed from the css.

Best regards,
Spocke - Main developer of TinyMCE