This question already has an answer here:
I have a content type of
Company, which can have multiple
Images. In the company node, i want to display a slideshow of the images which belong to the company.
For some reasons, instead of storing the
images in a field of
Company, i created another content type of
Image, which references the
Company through an
Entity Reference field type.
So now i have a view of
Images which i want to filter using the reference field. I tried adding an
Contextual Filter, but the filter cannot find the related images, which i think because the url is transformed. For example if the company has the name The Company, the path becomes /company/the-company (i am using automatic alias).
How can i filter the images correctly in the company page? Thanks.