In my case, I use Drupal Commerce (Kickstart 2x distribution) with a images field (multiples/unlimited values).
I need to display all images of parent product AND images of their childrens (variations).
Another case are to display images of a field but if empty, I want to display images of another images field.
What's the good way for this?
- Relation module
- hook_field_load()
- hook_query_alter()
- hook_node_load()
- hook_load()
Related questions:
How to create a single slideshow combining several image fields?