How to list all images used on a specific page?

The WP function get_attached_media() should provide the info you need.

If used in this way…

$media = get_attached_media( 'image' );

… the $media var should contain the wp_post objects for all attached images.

Function documentation in the WP Codex:
https://developer.wordpress.org/reference/functions/get_attached_media/

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)