Sharing an image between two pods (file upload/pick/bi-directional)

0

I have two pods:

"artist" "episode"

I have an image I'm uploading to "episode" but I like to share it (i.e. display it) on my "artist" page.

Is there a way to combine a file upload with a bi-directional pick? - Or otherwise relate it so I only have to upload the image in my "episode" pod but have it shown in my "artist" pod?

asked Aug 6 '10 at 8:51

redconservatory

77

add comment
enter at least 15 characters

1 Answer

1

The relationship is established not between specific columns, but between whole pod items with all columns. You are able to get an image from a related pod just by $podname->get_field('relcolumnname.imagecolumn'). So what you need is one pod with file column for images (episode) and another pod with relationship column (artist). If you need bi-directional relationship for any purpose, you'll need to have relationship columns in both pods pointing to each other.

answered Aug 7 '10 at 6:52

Fike

208

edited Aug 7 '10 at 6:53

add comment
enter at least 15 characters