I have a content type of Company
, which can have multiple Image
s. 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 Image
s 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.