User:Disgustedorite/Sandbox/RandomExtantGallery

{{#dpl:category=Species|category=Extant|randomcount=16|format=

how on earth do I get the PageImage for a page

Below is a random selection of extant species; click any one of them to learn more! {{#dpl:category=Species|category=Extant|randomcount=14|format=,,,}}

Cargo version...

{{#cargo_query: table=SpeciesInfo }}
 * where=status="Extant"
 * fields=_pageName,image
 * format=gallery
 * mode=nolines
 * show filename=0
 * show bytes=0
 * show dimensions=0
 * image width=160px
 * link field=_pageName
 * caption field=_pageName
 * limit=16
 * template=User:Disgustedorite/ExtantGallery/ResultsGallery
 * order by=RAND
 * delimiter=\n