Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am trying to use IMCE browser with File widget using FileField Source module. It shows up browser and displays directories but not displaying files that already in that directories. Could you please anyone help me to resolve this?
Comments
Comment #1
ufku CreditAttribution: ufku commentedSee #877452: Enable uploading and deletion through IMCE
Comment #2
7wonders CreditAttribution: 7wonders commentedI am having this same issue even with the patches applied on the link you provided ukfu. Strangely enough they show up in the file browser under user pages but not in the file browser for image field. Any ideas why that might be?
Comment #3
ufku CreditAttribution: ufku commentedIt lists the files that are registered in database. File field does not allow to use FTP uploaded files.
Comment #4
7wonders CreditAttribution: 7wonders commentedIs there any clever way to get them registered in the database for a specific folder??
Comment #5
ufku CreditAttribution: ufku commentedIt requires PHP skills.
Comment #6
spamator12 CreditAttribution: spamator12 commentedsame here
Comment #7
7wonders CreditAttribution: 7wonders commentedI did it using feeds to import the images first into "image collections" (i.e. nodes). For my purposes it made sense for me to also use this info here - http://drupal.org/node/1080386. Once imported that way they are recognised by imce.
Comment #8
kerios83 CreditAttribution: kerios83 commented"IMCE browser is not listing existing files" this is exactly what happened to me... after move some files via ftp imce don't see them... however imce see old files... this is strange
Comment #9
bdimaggioWe're migrating a client from D5 to D7, and wanted them to be able to make references to all the files they had already uploaded in 3+ years of using IMCE on D5. After running into the problem described in this thread, I made a little situation-specific module that told Drupal's file_managed and file_usage tables about these files, thus making them referrable in both node/block bodies and other fields that are using IMCE through filefield_sources. I'm thinking about cleaning this up and releasing it as a helper module for both IMCE and filefield_sources, but I'd only want to do it if those communities would get some use out of it. What do folks here think? Anyone having this problem who'd like to try it out?
Comment #10
kerios83 CreditAttribution: kerios83 commentedSure, I think many will try out your module.
Comment #11
kendouglass CreditAttribution: kendouglass commentedbdimaggio: Yes, please. I've been wanting this for years! Are you still working on releasing this? Could you comment here with an attachment of what you are using now?
Comment #12
Zero4ffect CreditAttribution: Zero4ffect commentedPlease post that helper module. =)
Comment #13
bdimaggioHey, really sorry I dropped this thread. Made the thing, used it, foolishly didn't keep track of where I put the code, and now don't have it anymore. However, someone else seems to have come up with a better solution. Try: http://drupal.org/sandbox/ufku/1373728
Comment #14
zap-admin CreditAttribution: zap-admin commentedI thought I'd just throw this in the mix. I am having the same issue when using IMCE with an image field. However, it works just find in the body of a node where I have enabled ckeditor. I've been tweaking it but haven't made any magic happen as of yet. I can see all the directories, but no files. Even when I access the IMCE browser within ckeditor/ckfinder...... selecting the sites/default/files/images directory doesn't work. When I go and select "root" then I can see all my images. And when I click on each one... it shows that it's in the "files/images" directory. freaking weird. I'll see if I can get that sandbox link to make things work... or try the link above. Thanks to all those that posted regarding this issue.
Comment #15
zap-admin CreditAttribution: zap-admin commentedbdimaggio..... thanks so much for posting the link. It totally makes IMCE work like I need it to for the image field. You made my night...err... morning.
Thanks again.
Comment #16
ufku CreditAttribution: ufku commentedimce_filefield