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.
In my Drupal 8, I am using IMCE file browser with CKEDITOR but can't see image thumbnails to choose from.
Currently I can see a list of files displaying file names but no thumbnails. I can only view the image file if I click a filename but need to see image thumbnail before I select an image.
Related issues:
#3036580: Add list option or preview images
#3043252: Recover thumbnail configuration on Imce.php
Comment | File | Size | Author |
---|---|---|---|
#11 | imce-How_to_show_an_image_preview_of_the_files_in_IMCE_file_browser-2907354-11-D8.patch | 4.49 KB | thalles |
#5 | erro-2907354.png | 74.42 KB | thalles |
#3 | imce-add_image_to_file_browser-2907354-3.patch | 4.85 KB | josebc |
Comments
Comment #2
abu-zakham CreditAttribution: abu-zakham at Vardot commented+1
Comment #3
josebc CreditAttribution: josebc at Vardot commentedPatch attached, apply and run database updates to create new image style.
Comment #4
abu-zakham CreditAttribution: abu-zakham at Vardot commentedComment #5
thallesError after apply the patch:
Comment #7
thallesAfter installing the module already with the modifications, everything worked!
Great job!
Thanks all!
Can you solve the issue?
#3036580: Add list option or preview images
Comment #8
ufku CreditAttribution: ufku commentedI think this would kill load performance of directories with lots of images.
Could you please make it available with a config option which defaults to false?
Comment #10
thallesComment #11
thallesFollow the patch!
Comment #13
thallesComment #15
ufku CreditAttribution: ufku commentedRevised thumbnail implementation
Removed the image style definition.
Moved style config into profile form as a select field with available styles on the site.
Removed the thumbnail wrapper and used icon element instead.
Please wait for enough people to review before committing.