Hopefully, I understand what is you're trying to do:
Does it have to be within the getResources code? If you can do your solution on the page, I usually use the If component and set up the code using something like this:
[[!If? &subject=`[[+tv.yourTV]]` &operator=`empty` &then=`` &else=`<div id="div_to_float_left_or_right_of_summary"><img src="[[+tv.yourTV]]" /></div>`]]
Then, set up the CSS to make that div float left or right. If there is nothing within the
...then no sweat. It just doesn't appear. The rest of the summary's css should be written to fill up the space. Did that make sense?
[ed. note: waizen last edited this post 13 years, 7 months ago.]