Thanks for helping... I am working on a custom joomla component that pulls k2 items into one of it's views... I was successful getting the k2 items into my component's view by including the k2 content modules helper and then using a little code like so:
<?php
$componentParams = JComponentHelper::getParams('com_k2');
$items = modK2ContentHelper::getItems($componentParams);
foreach ($items as $key=>$item): ?>
<a class="Item_Title" href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a>
<?php endforeach; ?>
I have most everything I need in the $item object EXCEPT images... For some reason none of the image info is being included in the object?! So I am unable to do what I was hoping and use something like this:
<img src="<?php echo $item->image; ?>" />
Here is a Pastebin.com link to a print_r(); I did on my $item object in the foreach:
I don't even see $item->image available to me :-/
How can I get the k2 item path?