instead of hide_slug, just check for depth equal to zero and add Image record type as child of Attachment