Sounds like all you'd need to do is create a page where you pass in that other entity (current object of list view) as the context, then in that popup you can have a list of images associated with it if the non-image entity is the owner.
If it's a different issue please clarify what the problems are and a screenshot of the entities would probably help too.