Hi Everyone
I want to grab the latest uploaded images from by "image gallery" module...
function GalleryLatest($num=10){
$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?
Thanks