First let me say thanks for making this module. Once I get this hickup worked out I believe you guys just saved me a boat load of time.
I should preface this. I'm in the middle of a D6 to D7 conversion of what I think was the first of almost a dozen drupal sites I've now built. I did so much of it in some of the most screwed up ways you can when you're a newbie. Anyway, compared to many in here this is a small site... 5-600 nodes.... with about 3-400 articles. Each article has/had an image linked to it. In the conversion process I lost the connection info to the images. The images are still there.... but they're no longer linked to the appropriate nodes. I now have the fun job of reattaching them all now. So by all accounts your module is just the ticket I need. It should give me the ability to either access the existing library of images, or upload something new.
I installed ckeditor a couple days ago and added the IMCE link to it. This allows me to reconnect an image to the body of each story and wrap the text around is like I had setup in D6. However... here's were it get's odd. I've tried flushing cache, run cron and update. I also cleared the cache in the browser hoping that might clear things up. But when I access IMCE via the new "browse link" added to an image field, I can not see the files in my images directory. Now when I hit the IMCE button on the ckeditor I can access these files just fine. So it works in via the body field and ckeditor.... but not with the file field sources link.
I've also tried changing the permissions on the images folder to 777 but that didn't make any difference... same problem.
Thanks for any input you might have.
Comments
Comment #1
quicksketchThis is because FileField Sources only lists files that you have uploaded into other file fields. It won't list all the existing files that you have if you've uploaded them via FTP or another module.
Comment #2
raincloud commentedI just observed the same behaviour and wondering if this could be somehow avoided, having to upload the same photo twice (once via wysiwyg and then via field image). It is not always the case, but happens and then causes confusion, because the user says that the photo is there, but he can't see it.
Or maybe it is just a matter of some simple setting in the database to make the module aware that all files were uploaded via File Uploader, even if they were not.. to cheat this module, e.g. using phpmyadmin and do this for all photos, because I don't have any specific reason to distinguish between the uploaded photos depending on the upload method.
Comment #3
matthewdolman commentedWe have just done a migration in which we bulked copied the files from our previous server.
We want to be able to re-use these files in image/file fields and this module looked just right. Do you mean that in our situation it is not possible to use this module to re-use files uploaded via ftp?
Is there no option to remove this restriction?
Thanks
Comment #4
lindsayo commentedI'm having this problem as well, but all my files have been uploaded through a File Field. The autocomplete works beautifully, but of course it's meant to work with files not brought in through the GUI.
I upload an image file through a file field, save the node, reopen the node and scroll down to the adjacent file field (there are four on this content type). I click File Browser, then click browse, it pops up IMCE. No files are shown. I double check my file system to make sure it's pointing to sites/default/files. I shell in and look at sites/default/files and see the image I just uploaded a minute ago. I can reference said image file with the autocomplete reference textfield. But the IMCE browser is empty.
What am I missing? Permissions somewhere? A setting? Something in IMCE?
Comment #5
Marvine commentedsubscribing.
Same issue
EDIT : A patch is here : http://drupal.org/node/877452#comment-4499144 and ok for me in Drupal 6.
Comment #6
zap-admin commentedI FOUND A FIX
Sorry for the delayed response on my part. I got started on the problem site and then got sidetracked building a completely different site. Okay.... check out this thread.... especially the link
post #13
http://drupal.org/node/1191750
I never got the issue to properly resolve. I am using IMCE for the browser on both the body field via ckeditor, and with a second and separate image field on this particular node type I have on this site. I had IMCE browser working just find via link in ckeditor, but when selected via the image field... I could see all the directories... but no image files that are on the server. I think I tweaked most every setting in IMCE and the Image field to no avail, at least until I downloaded the module on the above link.
Now if you go and look at the link provided, it will lead you to a secondary page. If you're a newbie ..... I consider myself about 5 minutes past a newbie...LOL. Anyway, you have to download each of the files individually and place them into a folder/directory. I called it "imce_filefield". Make sure your computer doesn't try to add .txt to the end of several of these files. I uploaded the whole folder into my modules folder and couldn't for the life of me figure out why D7 wasn't seeing it. Was thinking I had done something wrong yet again. Anyway, removed the .txt and then the system saw the new module and I was able to enable it. I can now access all 900+ images on the system now. Yippie :)
IMCE is still doesn't seem to respond properly to the directories listed in it. When I select different directories it doesn't see crap... unless I select "root". Then all the images in sites/default/files/images just populate the screen.
Comment #7
quicksketchGreat, marking this fixed after a lack of activity here.
The new features added by #877452: Enable uploading and deletion through IMCE will also make this easier in the future, as IMCE can be configured to show all files now, not just the ones from the current field.