Custom code to get ACF data in wp-admin help needed

I need help with fetching values from an ACF field and displaying them on media preview in the admin. Can you help me with that?