I have a content type 'asset' witch contains a select list with a taxonomy reference 'category'
In the taxonomy 'category' I have 2 fields: 'name' and 'photo'.
Now I want to have the photo of the taxonomy also visible in form display of the asset page.
Is this possible without coding?
No additional coding is needed - this can be added in a custom module using
hook_form_alter().In order to dynamically display the taxonomy image in the node edit form when a category is selected, load the selected category term using its ID from the field value. Check if the term has an image set in the field_image field. If so, get the image file URI and add an image field to display it. Set the title to the category name.
Example: