The officially accepted story in academia is that hydrocarbons don't come from dinosaur fossils, but mostly from broken down plant matter.
The other theory the image suggested is the "Abiogenic petroleum origin" theory, originally proposed by the Soviets. Most mainstream sources will discredit this theory, but I think it's much more plausible than biomass origins.