I'm using CKEditor and set the absolute path of uploaded files to: %d%b%f/%u/ . In my filesystem settings I have set the path to sites/default/files. In the IMCE settings I have set the directory path to user-%uid and in the non-editable area before that textfield there, I see the correct relative path (sites/default/files/).

When I try to preview an image in IMCE, it requests e.g. sites/default/filesuser-1/image.jpg. So the slash between "files" and "user" is missing.

I tried to workaround this by setting the path in the filesystem settings to sites/default/files/. The filesystem settings page doesn't show the last slash (/) symbol although it gets saved in the database. Guess, that would be another issue... With that setting in the filesystem settings, IMCE now shows the path with an extra slash (sites/default/files//) and images are correctly previewed. But the question mark symbol in the upper right corner of IMCE gets now replaced by another image and the help/tipps content disappeared.

Comments

ufku’s picture

Status: Active » Closed (cannot reproduce)
Issue tags: -previewing

Please try to identify the real bug on a clean install with only the mentioned modules and a default theme. Also clean Drupal's and your browser's caches.

drmabuse_’s picture

Yes, you're completely right. I didn't remind cleaning the caches. Now it works perfectly.