Edited to be more specific in regards to my other modules/plugins:
I have a site that is basically set up like a printed calendar with an image on top and the content for the month below. The image and content come from two separate channels. The main page content is dynamic based on the url, and is working fine. I'm having trouble getting the image channel to display the way I want it to.
My url structure looks like this: events/calendar/date
I'm using Structure, Low Events to display the main page content, and Freebie to tell EE to ignore the date segment of the url, so that Low Events plays nice with Structure.
My Images channel is set up so that the url_title of my image entries is the same as the date segment of my page url for the month when i want the image to display. For example, my December 2012 calendar page url is events/calendar/2012-12 and my December image's url title is 2012-12. With this setup, i can use url_title="{freebie_3}" on my entries tag to display the proper image each month. This also works fine:
{exp:channel:entries channel="calendar_images" limit="1" url_title="{freebie_3}" dynamic="no"}
My problem is that there may be months when I don't have an entry in the images channel, but I still want to display a random image, rather than just leaving it blank.
As it is currently set up, if my freebie_3 segment doesn't match an existing url_title in my images channel, I get no result. Is there some way that I can get EE to display a random entry instead?