Posted by sokrplare on February 7, 2010 at 3:21am
So I spent a few hours trying to figure this out - there has got to be a way and I'm just missing it - especially since Panels is uncharted territory for me!
On some pages I've got an image field that I want to appear in a block or panel in the header (above the "content" section where the rest of the page shows up). I thought a Mini Panel would be perfect because it would pick up the "context" and use that node's image field. I was wrong.
I ended up just creating a new content type and then a view that randomly selects one, but the client wants heading images specific to the page. There's got to be an easy way to do this!
Any suggestions?
Comments
Why not expose your view as a
Why not expose your view as a block and use the node id as an argument to choose the correct image.
You're my Hero!
Wow - it is incredible to me that after using Drupal for 4+ years I had never come across that. Now I only wish I'd posted the question 3 hrs ago!
Thanks, Wade!
(for anyone else reading, some similar implementation details are here: http://drupalsn.com/learn-drupal/drupal-questions/question-2650)