Having successfully created my own content type (AstroImage), I would like to create a simple 'gallery' showing a thumbnail of the body image of each node. The nodes would also be grouped into 'albums' by Taxonomy.
Now, I have been able to make a start for a single image using the following:
$query = new EntityFieldQuery();
$nid = current($result['node'])->nid;
But this renders the whole node.
I have 20 AstroImage entities, 10 of which are tagged as 'NGC'.
When a visitor clicks on a link to show all 'NGC' images, they are taken to a new page which shows the 10 thumbnails. They then click on a thumbnail to be taken to the full node to view all the image details.
Can someone point me in the direction of a how-to to extract the image field from the nodes (field_astro_image) and output that?
Thanks in advance