Closed (fixed)
Project:
Image Field Caption
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2025 at 09:38 UTC
Updated:
2 Sep 2025 at 14:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
foxy-vikvik commentedComment #4
foxy-vikvik commentedComment #5
foxy-vikvik commentedHello,
This behavior is intentional. The forced integration of the caption field into all image field widgets was removed in version 4, as it could interfere with other widget implementations. Now, the module only integrates with the core image widget.
Therefore, this should be a Feature Request.
Comment #6
foxy-vikvik commentedComment #7
foxy-vikvik commentedComment #8
foxy-vikvik commentedComment #11
kksandr commentedComment #12
foxy-vikvik commentedComment #14
foxy-vikvik commentedCommitted to 4.0.x. Thanks!
Comment #15
kksandr commented@heavystonehead you can now configure which widgets show the caption field in your image field settings. Look for the "Caption field allowed widgets" option and select the widgets where you want captions enabled.
Comment #16
heavystoneheadUnfortunately, that doesn't quite work. I can enable the "Caption field allowed widgets" option under "field," but the field doesn't appear. I'm currently using 4.0.0-rc2.
Comment #17
kksandr commentedThanks for the report. To investigate this on 4.0.0-rc2 we need the exact configuration so we can reproduce.
Please attach or paste:
core.entity_form_display.*for the bundle where the field should appearfield.field.*for the affected field(s)You can get the config with:
Clearing caches may also help to check whether the issue is related to caching rather than configuration.
Also, please make sure that the user entering the content has permission to use the allowed text formats.
Comment #18
heavystonehead- Clearing the cache didn't help
- Files are attached
- I didn't see anything in the log (related to the module).
- No errors in the browser console
- Field isn't displayed (admin)
- Drupal version 10.5.2
Comment #21
kksandr commentedI have published a fix in this MR. Could you please test the patch and confirm if it resolves your issue?
Comment #22
heavystoneheadIt works, after the patch the field is visible and usable. Thanks for fixing it :)
Comment #24
foxy-vikvik commented