SELECT DISTINCT images.project_id, images.filename FROM images images INNER JOIN projects projects WHERE images.project_id = projects.project_id