Hi,
I am using IMCE (6.x-2.0-beta1) with ckeditor(6.x-1.1) module on D6.16. I installed IMCE and configured it, and I can use it. I can upload image to server (win7 local test enviroment), but when I click on image file I can see only image name not the image itself. And when I click an image to return it to ckeditor path to image is wrong. It says "tes/default/files/image.jpg". Notice that "tes" folder. It should be "/sites/...".
Any idea why is this happening.

br,
Gapa

CommentFileSizeAuthor
#3 imce.js.port.patch708 bytesufku
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ufku’s picture

Category: bug » support

change the file directory at admin/settings/file-system and see if it is working.

havran’s picture

I have similar problem - i use web site through url with port myweb.example.com:8880/bebetv and i have in picture path tv/.... Maybe port in url is problem? (4 characters missing in path and four numbers in url)...

ufku’s picture

Title: wrong returned image path » incorrect image path on hosts using custom port
Version: 6.x-2.0-beta1 » 6.x-2.x-dev
Category: support » bug
Status: Active » Needs review
FileSize
708 bytes

You're right havran. It's a port number issue.
Use the attached patch for 2.x-dev or remove the text + (location.port ? ':' + location.port : '') from js/imce.js

ufku’s picture

Status: Needs review » Fixed

committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.