I want to grab the latest uploaded images from by "image gallery" module...
$gallery = DataObject::get_one("ImageGalleryItem");
return ($gallery) ? DataObject::get("ImageGalleryItem", "", "Created DESC", "", $num) : false;
which works in terms of getting the database rows, however how to I load the "ImageID" into an actual image, i.e. I cant find the table that lists all the image IDs and their paths?