How to display 1 specific image in Media if a certain doc type is selected
I'm creating a small repository for products. I'm giving the user the ability to select a "Coming Soon" product. I have set up a specific "ComingSoon" doc type and there is an image in the media library that I want to display every time this doc type is used. How can I do that? I can display the image of "actual products" without any problems.
How to display 1 specific image in Media if a certain doc type is selected
I'm creating a small repository for products. I'm giving the user the ability to select a "Coming Soon" product. I have set up a specific "ComingSoon" doc type and there is an image in the media library that I want to display every time this doc type is used. How can I do that? I can display the image of "actual products" without any problems.
Here is my code so far
Thanks
Actually I seem to have figured this out.
I just change this
to this
Yay me!
is working on a reply...