Check filemime for image fields.
If argument 'is_default' == TRUE it means that a picture is not load.
This is equivalent empty field.
| Comment | File | Size | Author |
|---|---|---|---|
| is_image.patch | 836 bytes | Anonymous (not verified) |
Check filemime for image fields.
If argument 'is_default' == TRUE it means that a picture is not load.
This is equivalent empty field.
| Comment | File | Size | Author |
|---|---|---|---|
| is_image.patch | 836 bytes | Anonymous (not verified) |
Comments
Comment #1
BarisW commentedThanks for the patch, but can you explain what it does? Why is this patch needed? What goes wrong without the patch?
Also, please patch against a git checkout (dev) instead of 1.4, as the variable names have changed in between (from $key to $$field_name.
Comment #2
mrded commentedHe means that the module doesn't support fields with default value :)
Comment #3
mrded commentedComment #4
abrammD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-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 D7 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!