Most probably, you came across a requirement the requirement of showcasing product images to different place inside your Magento 2 store. But it's difficult to identify image URLs or find such backend option. Use this small piece of code to grab all product image URLs programmatically in Magento 2.
Attachment 13642
For more: How to Get Product Images Programmatically in Magento 2