I'm not sure if I should have posted this issue in the CDN project, FileField Sources or IMCE project.

I'm currently using FileField Sources with IMCE. I have it setup so I can upload new images or browse my server for existing images. After installing the CDN module, I am no longer able to browse for existing images. If I browse, it shows the file names, but when I click them I don't get a preview. If I select one of the images and click insert, I get an error "The selected file could not be used because the file does not exist in the database."

I am still able to upload new images and everything works fine.

Any help would be appreciated. Thanks!

### UPDATE ###
The functionality of IMCE seems to work fine. After using inspector, I realized that the image files that wont preview have an invalid src property in the <img> tag.

It seems as though this is only a problem when utilizing the "far future expiration" setting.

Files: 
CommentFileSizeAuthor
#5 imce.patch5.68 KBlorenzods
#4 imce.patch5.68 KBlorenzods

Comments

Project:CDN» IMCE
Issue summary:View changes

UPDATE

Title:IMCE breaks after installing CDNIMCE + CDN compatibility
Project:IMCE» CDN
Category:bug» task
Priority:Normal» Minor
Status:Active» Postponed (maintainer needs more info)

IMCE should use hook_cdn_blacklist() to blacklist its JS files: http://drupalcode.org/project/cdn.git/blob/0f19fca6c4c382cdd751ac97346c0....

If not, then it should work around the cross-origin domain policy.

Project:CDN» IMCE
Version:7.x-2.5» 7.x-1.5
Component:Origin Pull mode» Code
Status:Postponed (maintainer needs more info)» Active

Moving to IMCE issue queue.

I added these paths to the blacklist but it doesn't seem to fix it.

sites/all/modules/contrib/imce/js/*
sites/all/modules/contrib/imce_wysiwyg/js/*

Version:7.x-1.5» 7.x-1.x-dev
Category:task» bug
Priority:Minor» Normal
Status:Active» Needs review
StatusFileSize
new5.68 KB

This patch works on branch 7.x-1.x-dev (for CDN far future compatibility)

StatusFileSize
new5.68 KB

This patch fixes CDN interaction with far future option enabled.

Issue summary:View changes

update