How do I list all the image(s) used on a specific WordPress page. I would like it to include the following if possible,
- Url to image
- Name of image
- Url to thumbnail of the image
I would like to use WordPress itself to get the images, not use something like CURL and extract image urls. Also note this is back-end for a plugin.
I need to not only get images within the content of the page, but also images from the theme like a logo in the header, etc. Basically, all images that are on the entire page is what I'm trying to get