I do not get the images out of my article. The article var is initialized, but the images and pictures vars seem to be empty. Any hints what I do wrong here?
<?php
$id = JFactory::getApplication()->input->getInt('id');
$article = JTable::getInstance("content");
$article->load($id);
$images = $article->item->images;
echo $images;
$pictures = json_decode($images);
echo $pictures;
?>
<?php echo $pictures->image_intro; ?>