1. Create a new Link Image Field or convert an existing Image field to a Link Image Field
2. Notice that if you have the filefield sources module installed, you cannot choose an alternate file picker.
expected: User can choose an alternative file picker such as IMCE to browse the server for an image
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | linkimagefield_filefield_sources.patch | 439 bytes | chriscohen |
| #7 | 946794-7-linkimagefield-filefield_sources_support.patch | 957 bytes | pfrenssen |
Comments
Comment #1
spgd01 commentedI second the request
Comment #2
webdrips commented+1 to see this request
Comment #3
chrisgross commentedThis would be great, especially to be able to use tokens for custom file paths.
Comment #4
andrew_mallis commented+1
Comment #5
dejavu_007 commentedI managed to do this by changing in Filefield source module.
In line:60 of filefield_sources.module add 'linkimagefield_widget' to the array().
Comment #6
versantus.nik commentedWell found!
Better yet, add this either in the linkimagefield.module file, or better yet into your own custom module so that you're not messing about with the filefield Sources code (and making your life harder when it comes time to upgrade).
If you implement the available hook, you can just add your own widgets to the filefield Sources list.
Put this in linkimagefield.module, or create your own module and add it in there.
Remember to enable your custom module if you used one, and then edit your linkimagefield CCK field to enable other filefield sources.
Comment #7
pfrenssenNice, it works! Here is the code from #6 in a patch, I just changed the documentation a bit.
Comment #8
chriscohen commentedLet's get that patch committed, and also this patch, which is the same thing, but for Drupal 7.
Comment #9
sickness29 commentedDevelopment or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.
Everyone can apply the patch above (not tested by the maintainers, tested by the community) to their D6 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!