currently do not recursively search for image type