look up an image by ID in the database
local du = require "lib/dtutils" local img = du.find_image_by_id(imgid)
imgid - int - the image ID to retrieve
find_image_by_id looks up an image by ID in the database.
img - dt_lua_image_t - image with the given ID if found, nil if not