Hi yi tsen hsu,
The file entity should be petimage like your second setup and pet entity don’t have to be generalized with pet image.
And make sure that you are using petimage entity to display image instead of pet.
Hope this helps.
Hi yi tsen hsu,
Try to use the entity petimage in the field file entity.
Please let me know if it worked :)
Hi yi tsen hsu,
As pet can have only one image, you can make pet entity to be generalized with image directly. No need to have separate entity petimage to store images.
This would simplify your object model and you can have both image attributes and image content in same entity "pet".